chillurbrain

3.2 Task12

Oct 3rd, 2015
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.20 KB | None | 0 0
  1. public class Task12
  2. {
  3.     public static void main(String[] args)
  4.     {
  5.         int res = 0;
  6.         for (int i = 10; i <= 99; i++)
  7.         {
  8.             if (i == (2 * (i / 10) * (i % 10) ))
  9.                 System.out.println(i);
  10.         }
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment