Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Task12
- {
- public static void main(String[] args)
- {
- int res = 0;
- for (int i = 10; i <= 99; i++)
- {
- if (i == (2 * (i / 10) * (i % 10) ))
- System.out.println(i);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment