4 me Write a fragment of code which asks the user to input the price of a boat trip and the number of tickets, then calc

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

4 me Write a fragment of code which asks the user to input the price of a boat trip and the number of tickets, then calc

Post by answerhappygod »

4 Me Write A Fragment Of Code Which Asks The User To Input The Price Of A Boat Trip And The Number Of Tickets Then Calc 1
4 Me Write A Fragment Of Code Which Asks The User To Input The Price Of A Boat Trip And The Number Of Tickets Then Calc 1 (43.5 KiB) Viewed 56 times
solve this asap
4 me Write a fragment of code which asks the user to input the price of a boat trip and the number of tickets, then calculates the total cost and outputs a message in this format: The total cost of<trips>boat trips @<price>is <total> where the output in <> are the values of variables to 2 dec. places. You should declare your variables and input their values. Your answer:
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply