Question: C++ format. PLEASE follow the code and instructions. in order for the code to pass the input and output should be like this. for example:

C++ format. PLEASE follow the code and instructions.
in order for the code to pass the input and output should be like this. for example:
input: 85
output: Enter a number in the range of 1-100:
The number entered is 85  C++ format. PLEASE follow the code and instructions. in order for
the code to pass the input and output should be like this.

Write a function named getNumber that uses a reference parameter variable to accept an integer argument. Function getNumber uses a reference parameter variable to accept an integer argument. The function should prompt the user to enter a number in the range of 1 through 100. If the number entered does not fall in the correct range, re-prompt the user continuously until a correct value is entered. Then stored the number in the parameter variable. Upon return to the main function, the value will be displayed. Use of undeclared identifier 'getNumber' 16 #include 17 using namespace std; 18 19 // Function prototype 20 // YOUR CODE HERE!!!!!!!! 21 22 int main() 23 [ 24 int value; 25 getNumber(value); 26 cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!