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