write a program in java which accepts an integer from the user
Answers
Answered by
0
Explanation:
import java.util.Scanner;
public class integer
{
public static void main ()
{
Scanner in = new Scanner (System. in);
System.out.println("Enter a number of your choice");
int n = in. nextInt();
}
}
Similar questions
Math,
1 month ago
Hindi,
1 month ago
Math,
2 months ago
Computer Science,
9 months ago
Computer Science,
9 months ago