Thursday, 9 August 2018

contoh script java input



import java.util.Scanner;

public class input
{
                public static void main(String[]args)
                {
                                Scanner n=new Scanner (System.in);
                                System.out.print("input the number:");
                               
                                int number = n.nextInt();
                                System.out.print("The Number is"+number);
                }
}




download script disini

No comments:

Post a Comment