Question: Once you are done with your program, zip it and upload it to eCentennial under Assessments /Assignment/ Lab 1 The objective of this lab is

Once you are done with your program, zip it and upload it to eCentennial under Assessments /Assignment/ Lab 1 The objective of this lab is to read and display native data types like int, double, bool and string. Please note that the problem might not have an intelligent business purpose, but all that is necessary is to for you to read from user input from the keyboard and display program output to the console. You MUST use string interpolation expression 5 and where necessary format specifier, like \"C" for currency. Problem: Adult ticket cost $3.75 and child ticket cost $2.25. Write a program to prompt the user for the amount of adult and child ticket that she needs. The program will display a user-friendly message of the number of tickets brought as well as the total cost. (Use the "C" format-string for currency)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
