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