subject

g A movie theater patron can purchase a discounted ticket for "G" rated movies if they are children (12 or under) or seniors (65 and older). Input the two pieces of data. Assume that the variable Age holds the age of the patron and the variable rating holds the movie rating (G, PG, etc). Be sure they only enter a positive number for age and G, PG or R for rating. Output error if numbers are negative or zero or rating is in error. Write the selection statements to output "Discount applies" when the 2 conditions are both true and "No Discount" if they are not both true.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:20
Terri needs to insert a cover page into her document. where should she go to access the commands to do so? o insert tab, objects group o insert tab, illustrations group o insert tab, pages group o insert tab, media group submit
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
Could you find out how im still getting an 83 percent on this in edhesive a = input("enter an animal: ") s = input ("enter a sound: ") e = "e-i-e-i-o" print ("old macdonald had a farm, " + e) print ("and on his farm he had a " + a + "," + e) print ("with a " + s + "-" + s + " here and a " + s + "-" + s + " there") print ("here a " + s+ " there a " + s) print ("everywhere a " + s + "-" + s ) print ("old macdonald had a farm, " + e)
Answers: 2
question
Computers and Technology, 24.06.2019 03:30
Other - a written response, no less than arial 12-point font, to the following: of the following, which would you consider is most important to customer service goals? choose one and explain why. (1) accuracy (2) punctuality and attendance (3) courtesy (4) productivity (5) organization
Answers: 1
question
Computers and Technology, 24.06.2019 15:50
Andy would like to create a bulleted list. how should he do this? andy should click on the bullet icon or select the bullet option from the menu and then type the list. andy should press the shift key and the 8 key at the beginning of each line of text. andy should type the text and then click on the bullet command. andy should press return and the bullets will automatically
Answers: 2
You know the right answer?
g A movie theater patron can purchase a discounted ticket for "G" rated movies if they are children...
Questions
question
Engineering, 20.02.2021 05:30
question
Mathematics, 20.02.2021 05:30
Questions on the website: 13722361