chillurbrain

4.1 Task2

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