martinvalchev

Numbers Ending In 7

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