Computer Science, asked by Omondi, 2 months ago

write a program in java which accepts an integer from the user

Answers

Answered by DeblinaDutta
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