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