c++ question Write the definition for a value-returning function named ticketRate that has 1 parameter named category (a character) and returns the cost of a ticket (a floating-point). Your function...


c++ question


Write the definition for a value-returning function named ticketRate that has 1 parameter namedcategory (a character) and returns the cost of a ticket (a floating-point). Your function should return 12.95 i f the category is 'A', 25.00 if the category is 'B' and return 0.0 otherwise.



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here