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, 23.06.2019 22:50
An environmental protection agency study of 12 automobiles revealed a correlation of 0.47 between engine size and emissions. at 0.01 significance level, can we conclude that there is a positive association between the variables? what is the p value? interpret.
Answers: 2
question
Computers and Technology, 24.06.2019 03:30
Auniform resource locator (url) is a formatted string of text that web browsers, email applications, and other software programs use to identify a particular resource on the internet. true false
Answers: 2
question
Computers and Technology, 24.06.2019 10:30
You're programming an infinite loop. what must you include in your code to prevent crashes? in roblox
Answers: 2
question
Computers and Technology, 24.06.2019 14:00
When creating a field in a table, you must set the to determine what type of data the field can store. field property data type field type data property
Answers: 1
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
Mathematics, 12.01.2021 18:00
question
Mathematics, 12.01.2021 18:00
question
Mathematics, 12.01.2021 18:00
question
Chemistry, 12.01.2021 18:00
question
Mathematics, 12.01.2021 18:00
question
History, 12.01.2021 18:00
Questions on the website: 13722367