Question: in c++ please # 1: homework-func-cpp This is basically a modification to your last assignment. Instead of having all the code in the main function,
in c++ please


# 1: homework-func-cpp This is basically a modification to your last assignment. Instead of having all the code in the main function, you'll implement the DispMesg function which will handle the actual display of the homework messages. The main function should prompt the user as usual for the number of times he/she wishes to be reminded to do his/her homework, but then this value should be passed as an argument to the DispMesg function. Thus the DispMesg function must have a formal parameter of type int, and it doesn't need to return anything to the caller (hint: what do you think the return type should be? Think of the DrawTriangle function we wrote earlier...). The result of running the program should produce output identical to the Do Your Homework program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
