What is the output of the
given program if the user
enters 20?
A. A lot of fun
B. some fun
C. no fun
Consider the following
segment:
Scanner
Scanner(System.in);
input
System.out.print("Please
value");
int value =
fun");
}
else
{
input.nextInt();
if (value >= 30 )
{
program
enter
System.out.println("A
lot
new
a
of
5

What is the output of the given program if the user enters 20? A. A lot of fun B. some fun C. no fun Consider the following segment: Scanner Scanner(System.in); class=

Answer :

if(value_ 30)

Explanation:

es igual 30 espero que te sirva

Other Questions