Functions Exercise: Value Parameter
Create ex2_functionP.cpp
with the following code in the Visual Studio project or copy the following code into your IDE:
The purpose of this program is to practice using user defined functions.
Complete the Program
- Read the program and add code to complete it.
- Compile and run this C++ program.
- Test it with different at least two different numbers of stars.
When you are done:
- Take a screenshot of your IDE and console window after compiling and then running the program with two different numbers.
- For this exercise, you will have:
ex2_functionP.cpp
. - Complete all the exercises in this lab and upload the .cpp files and screenshots for the output.