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

please help thank youu
100 point and Branliest Obtuse Scalene Triangle Translation to prove SSS Congruence 1. Describe the translation you performed on the original triangle. Use det
help me please ok. ​
The first goverment of the united states was
8. a) Write a letter to your friend whom you have not seen for a long timeTell him/her what you and your family are doing these days.​
The author most likely includes the memory in paragraph 4 to develop the theme of -- a. mental illness b. nagging guilt c. self-indulgence d. self-sabotage Use
Johanna took her younger brother to the playground because he likes to swing. Look at the diagram below that shows Johanna pushing her brother on a swing. 12.
Luther Douglas became a citizen of the US shortly after the Constitutional Convention. He believed like many others in a weak federal government and supported a
Answer to this??????
Huryyyyy pleasee Read the passage below. In the 1920s, during a period known as the Jazz Age, jazz music became popular. Another feature of this period was a da