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