emilyfudala emilyfudala
  • 08-11-2020
  • Computers and Technology
contestada

Write an expression that will print "in high school" if the value of user_grade is between 9 and 12 (inclusive).

Respuesta :

WilliamFancyson
WilliamFancyson WilliamFancyson
  • 08-11-2020

Answer:

C#

if(user_grade >=9 && user_grade <=12)

{

   Console.WriteLine("In Highschool");

}

Python

if user_grade >= 9 & user_grade <= 12:

  print("In Highschool")

Java

if(user_grade >=9 && user_grade <=12)

{

   System.println("In Highschool");

}

Explanation:

Answer Link

Otras preguntas

Explain the involvement of a tax subsidy in employer-financed health insurance.
Fertilizer grade is the guaranteed minimum amount of macro nutrients present on a per cent volume basisa) Trueb) False
Explain why positive caster provides increased directional stability.
Who can approve an aircraft for return to service after preventive maintenance according to 14 CFR 43.7(f)? a) Only an FAA-certified mechanic with an A&P (A
The atomic diameter of an BCC crystal (if a is lattice parameter) is(a) a (b) a/2 (c) a/(4/√3) (d) a/(4/√2)
Novak company was organized on April 1,2022. The company prepares quarterly financial statements. The adjusted trial balance at June 30 is shown here. Debit: Ca
Felipe is going on a trip to the Oregon coast, and he wants to learn about plants and animals that are native to the area. Which text best matches Felipe’s read
A waist-to-hip ratio is greater than or equal to ______ in MEN or greater than ____ in WOMEN indicates upper body/Android obesity which puts the patient at risk
Fisk riwiwi do soap Roos
Larger bond order means greater bond strength. a) True b) False