Question: / / Function prototype: Do not include 1 1 the variable names in the prototype. void Request _ Data ( int main ( ) int
Function prototype: Do not include the variable names in the prototype. void RequestData int main int nin number of people in the groupdouble p; p price of a ticketdouble total; total total to pay for the tickets Function call complete Using the pointers method, pass n and p by reference to function RequestData, in that order.RequestData Complete the formula Multiply the number of people by the price of a ticket.totalcout "Total for the tickets $ total In
;return ; Function header
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
