Question: 3. Further modify the C++ program that you already modified in Practice Program 2. Change the multiplication sign in your ++ program to a division
3. Further modify the C++ program that you already modified in Practice Program 2. Change the multiplication sign in your ++ program to a division sign /. Recompile the changed program. Run the program. Enter a 0 input for "number of peas in a pod." Notice the run-time error message due to division by zero
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
