Advertisement
Spocoman

08. Divisible by 3

Oct 16th, 2024
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.16 KB | None | 0 0
  1. class DivisibleBy3 {
  2.     public static void main(String[] args) {
  3.         for (int i = 3; i < 100; i += 3) {
  4.             System.out.println(i);
  5.         }
  6.     }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement