Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1.  
  2. package mainactivity;
  3.  
  4. import java.util.Scanner;
  5.  
  6.  
  7. public class MainActivity {
  8.  
  9.  
  10. public static void main(String[] args) {
  11. Scanner sc = new Scanner(System.in);
  12. System.out.print("\tArafat Rahman\n\tshuvo\n\t");
  13. System.out.print(323242);
  14. System.out.println();
  15. System.out.println();
  16. System.out.println("pls entr somthng : ");
  17.  
  18.  
  19. String name = sc.next();
  20. int age = sc.nextInt();
  21. string phone = sc.next();
  22. // int convert = Integer.parseInt(phone);
  23.  
  24. System.out.print(name);
  25. System.out.println();
  26. System.out.println(age);
  27. System.out.println();
  28. // System.out.println(phone);
  29.  
  30.  
  31.  
  32. }
  33.  
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement