Advertisement
TheSTRIG

soalB

Oct 10th, 2014
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.37 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class ehuehue{
  4.     public static void main(String[] args){
  5.    
  6.     System.out.print("Masukan 3 angka: ");
  7.     Scanner tot = new Scanner(System.in).useDelimiter(" ");
  8.     int a = tot.nextInt();
  9.     int b = tot.nextInt();
  10.     int c = tot.nextInt();
  11.     tot.close();
  12.    
  13.     System.out.println(a);
  14.     System.out.println(b);
  15.     System.out.println(c);
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement