gonzalesraymond4113 gonzalesraymond4113
  • 02-12-2022
  • Computers and Technology
contestada

Challenge 13 - Create a program to ak the uer their age and if it i between 4 and 16 it hould output
"You are in chool", otherwie output "You are not of chool age"

Respuesta :

candlejenner candlejenner
  • 03-12-2022

Answer:

age = int(input("Enter your age: "))

if age >= 4 and age <= 16:

   print("You are in school")

else:

   print("You are not in school age")

Explanation:

since you didnt mention the program you’re using, im going to answer it using python. if there's anything to amend let me know!

Answer Link

Otras preguntas

What did Egyptians mean by the afterlife?
How would I solve this equation?
Owens bedroom has a perimeter of 46 feet. If the length of the bedroom is 11 feet, what is the width of the bedroom?
Which words in the salutation should be capitalized? dear aunt mary, Choose all answers that are correct. A. Mary B. Dear C. Aunt
Many Democrats will leave a blank what do you hot and made it difficult for farmers to export what
A football team lost 9 yards on its first play. It then gained 9 yards on its second play. A. What expression can be written to represent how many yards the foo
Would a field with a wid
Write a real world problem in which you would divide a whole number by a fraction
find the inverse of the function f(x)=7x+3
Translate the sentence into an inequality. Twice the difference of a number and 7 is at most −20 . Use the variable y for the unknown number.