Advertisement
veronikaaa86

08. Divisible by 3

May 18th, 2022
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. package basicSyntax;
  2.  
  3. public class P08DivisibleBy3 {
  4. public static void main(String[] args) {
  5. for (int i = 3; i <= 100; i += 3) {
  6. System.out.println(i);
  7. }
  8. }
  9. }
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement