Computers and Technology

There is an amusement park where children of a certain age get a discount. At the ticket kiosk, the computer asks the age of the participant. If their age is younger than 15, the entrance price is $20. If their age is 15 or older, the price is $40. To address the scenario, you will need to code a branching decision that does the following:

Asks the user for their age
Creates a message that will indicate the price of the ticket. The message should say, “The entrance price is .”
Prints the correct price based on the user’s input of their age. What is the right code language for this coding?

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 04:50, edenlbarfield
Which are steps taken to diagnose a computer problem? a) reproducing the problem and using error codes b) reproducing the problem and troubleshooting c) using error codes and troubleshooting d) using error codes and stepping functions
Answers: 1
image
Computers and Technology, 22.06.2019 11:30, mmimay3501
What do character formats do for your document's message? a. set the tone b. provide organization c. provide clarity d. set how texts align with documents
Answers: 2
image
Computers and Technology, 22.06.2019 13:30, ReaLily
1. technician a says horsepower information can be used by consumers to compare the power of different automobile engines. technician b says that manufacturers will often list the horsepower output of their engines in the online service information. who is right?
Answers: 2
image
Computers and Technology, 22.06.2019 21:30, mima851
Elements such as fonts colors visual structure graphics and the interface of a web page should complement each other to ensure blank
Answers: 3
Do you know the correct answer?
There is an amusement park where children of a certain age get a discount. At the ticket kiosk, the...

Questions in other subjects:

Konu
Computers and Technology, 24.08.2019 01:50
Konu
Mathematics, 24.08.2019 01:50