Functions Exercise: Value Parameter
Use ex2_functionP.cpp
in the replit team 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 before uploading the zip file produced by replit.