Question: I am trying to fix this C++ program to print the expected output, the help would be much appreciated. This program's output and the expected
I am trying to fix this C++ program to print the expected output, the help would be much appreciated.
This program's output and the expected output:

The code for this output:

How can this program be fixed to print the expected output instead of the current output?
Program 1: Matryoshka Dolls Choose from among the following options: 1. Display original graphic 2. Display Matryoshka Dolls 3. Exit the program Your choice -> Number of dolls -> () 1 - 1/ Program 1: Matryoshka Dolls Choose from among the following options: 1. Display original graphic 2. Display Matryoshka Dolls 3. Exit the program Your choice -> Number of dolls -> () 1-1 \/ () C Your output Expected output Exiting Exiting // outer loop for printing the dolls according to the number entered for(int i = 0; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
