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.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here