Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class NumbersEnding7 {
- public static void main(String[] args) {
- for (int i = 7; i < 1000; i++) {
- if (i%10==7)
- System.out.println(i);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement