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

which of the following sentences contains two independent clauses1. my dog Fred enjoys ice cream sundaes, and I like walking him to our local ice cream parlor.2
5.1(3 + 2.2x) > –14.25 – 6(1.7x + 4)?
Buddhist believe that “ the end to suffering is contained in the ____ fold path.”
Can someone help me solve this
The earliest known villages in ancient Egypt date back over 5,000 years. These villages became part of two kingdoms. One of these kingdoms controlled the villag
What can be the weather in Indiana on a typical day?
The mean temperature for the first 7 days in January was 6 °C. The temperature on the 8th day was 5 °C. What is the mean temperature for the first 8 days in Jan
ASAP! I just don’t understand and could use help w 14 through 22
Which of the following accurately represent the protagonist of “Araby?” Select all that apply. male nameless has moved to Dublin from the countryside decides no
E Question 14/36 < NEXT BOOKMARK XE 14 A wave has a frequency of 30 Hz and a wavelength of 10 m. What's its speed?