Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Lesson_24_Activity_One {
- public static void main(String[] args) {
- for (int i = 23; i <= 89; i++) {
- System.out.print(i);
- char s;
- if (i % 10 == 2){
- s = '\n';
- }
- else {s = ' '; }
- System.out.print(s);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement