Hi ALL,
Here I wrote a program for Random Number generation Using java.
/**
*
* @author Balamurgan
M
*/
import java.util.Scanner;
public class RandomNumber {
public static void
main(String arg[]){
System.out.println("Enter the number ");
Scanner in=new
Scanner(System.in);
for(int
i=0;i<10;i++){
int
num=in.nextInt();
System.out.println(num);
}
}
}
No comments:
Post a Comment