Examlex

Solved

Assuming That the User Enters 60 as the Input, What

question 69

Multiple Choice

Assuming that the user enters 60 as the input, what is the output after running the following code snippet?
Int num = 0;
Scanner in = new Scanner(System.in) ;
System.out.print("Enter a number: ") ;
Num = in.nextInt() ;
If (num < 10)
{
System.out.println("Too small!") ;
}
Else if (num < 50)
{
System.out.println("Intermediate!") ;
}
Else if (num < 100)
{
System.out.println("High!") ;
}
Else
{
System.out.println("Too high!") ;
}


Definitions:

Active Consumer

An engaged customer who actively seeks out information, makes informed decisions, and influences others.

Communicates Online

the exchange of messages, information, or data between individuals or groups using digital platforms and the internet.

YouTube

A video-sharing website in which users can upload, view, and comment on videos.

Related Questions