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:
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
-
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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!