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
Posted: Sat May 14, 2022 3:27 pm
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 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: