Question: In C++ create a class MyChar with a character field. Include a destructor that prints out the character. write a program with functions, loops, if
In C++ create a class MyChar with a character field. Include a destructor that prints out the character. write a program with functions, loops, if conditions, etc. each of which creates MyChar objects such that when the objects go out of scope a word is spelled. There should be at least 1 function call, one loop, and one if condition. The word should at least be 5 letters long. Please be creative
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
