Answer to Question #275194 in C++ for Lax

Question #275194

Define the following modules below the main function:



 a function to determine the ticket price based on the received seating section code.(7)



 a void function to accumulate total amounts made per sitting section(5)



 a void function that will generate 5 numbers to represent winners, ensure that the



function does not duplicate numbers and store the winning numbers in an array called



luckyCust. (

1
Expert's answer
2021-12-04T10:18:46-0500
//Void (NonValue-returning) function definition syntax: including header and body
void functionName(dataType& variable, dataType& variable) //function header
{
   //function body
   statements...

   //void (nonvalue-returning) function can still use return statement
   //but, does not return any values...
   return;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment