I’ve worked on this for 3 days and getting nowhere c++ function and array assignment
I’ve worked on this for 3 days and getting nowhere c++ function and array assignment
Modify the FizzBuzz program developed in Week Two to record the user input using an array, and to provide additional output. To record the user input, create a function that has the prototype int RecordEntry(int), where the function takes current input and appends it to a one-dimensional array, and returns the number that was passed as an argument. To provide additional output, when the user exits the program by typing “end”, call a function called void Output() that outputs the numbers in the array and how many inputs there were.
**********************************************************************************************************************************************************************
Everything in the main method works fine, I do not understand how to create an array in RecordEntry(int) function that collects user inputs then take this information and output it in the Output() function.
"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.
Discount Code: CIPD30
Click ORDER NOW..


