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

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

# 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

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!