Examlex

Solved

Assuming That a User Enters 64 as His Score, What

question 13

Multiple Choice

Assuming that a user enters 64 as his score, what is the output of the following code snippet?
Int score = 0;
Scanner in = new Scanner(System.in) ;
System.out.print("Enter your score: ") ;
Score = in.nextInt() ;
If (score < 40)
{
System.out.println("F") ;
}
Else if (score >= 40 || score < 50)
{
System.out.println("D") ;
}
Else if (score >= 50 || score < 60)
{
System.out.println("C") ;
}
Else if (score >= 60 || score < 70)
{
System.out.println("B") ;
}
Else if (score >= 70 || score < 80)
{
System.out.println("B+") ;
}
Else
{
System.out.println("A") ;
}


Definitions:

Petite Bourgeoisie

A social class characterized by small business owners, tradespeople, and the self-employed, often considered part of the lower middle class.

Class Conflict

is the struggle between classes to resist and overcome the opposition of other classes.

Economic Inequality

The unequal distribution of wealth and income among the members of a society.

Non-Unionized

Refers to workplaces or segments of the labor market where workers are not members of a labor union and do not have collective bargaining rights.

Related Questions