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

In America, the main influence of the Enlightenment was expressed through
main characters in son by lois lowry
six nickels is what percent of one dollar
The Mughal Empire was established by Whom?
six nickels is what percent of one dollar
What is market equilibrium
six nickels is what percent of one dollar
The Mughal Empire was established by Whom?
A small publishing company is planning to publish a new book. The production costs will include the time fixed, costs (such as editing) and variable costs (such
two similar cones have surface areas in the ration 4:9. find the ration of their lengths and their volumes