Advertisement
Spocoman

01. Numbers Ending in 7

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