| Functions Worksheet #6 | Name - |
Draw the output window with the expected output as precisely as possible.
#include
<iostream>
using namespace std;int addAFew(int base);
void displayNum(int num);int main()
{
int number = 10;
while (number < 50)
{
number = addAFew(number);
}
displayNum(number);
return 0;
}// end of mainint addAFew(int base)
{
return base + 5;
}// end of addAFewvoid displayNum(int num)
{
cout << "The number is " << num << endl;
}// end of displayNum