Advertisement
michael_xgrind

Untitled

Jul 26th, 2014
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.27 KB | None | 0 0
  1. public class OlaMundo{
  2.     public static void main(String[] args){
  3.         String nome = "michael";
  4.        
  5.         int num = 2;
  6.         int i=0;
  7.        
  8.         while (i<5){
  9.             System.out.println(i);
  10.             i++;
  11.         }
  12.        
  13.         System.out.println("Nome: " +nome);
  14.         System.out.println("Num: " +num*2);
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement