cesarnascimento

for quadrado de 1 a 20

May 26th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.19 KB | None | 0 0
  1. package exercicios;
  2.  
  3. public class q178 {
  4.  
  5.     public static void main(String[] args) {
  6.         for(int i = 1; i<=20; i++){
  7.             System.out.println("O quadrado de "+i+" Γ©:"+i*i);
  8.         }
  9.  
  10.     }
  11.  
  12. }
Add Comment
Please, Sign In to add comment