Question: Here is my code in C++ (the text), I need help when I input 2 100 3 4 i need the output to look like

Here is my code in C++ (the text), I need help whenI input 2 100 3 4 i need the output to looklike the picture below. #include using namespace std; void displayMenu(); void displayMenu2();int main() { int choice, total = 0,n,budget,cnt=0; cout > choice; if(choice == 1){ cout>n; for(int i=0;i { displayMenu(); cin>>choice; switch(choice) { caseHere is my code in C++ (the text), I need help when I input 2 100 3 4 i need the output to look like the picture below.1:{ cout>budget; while(budget>=25) { displayMenu2(); cin>>choice; switch(choice) { case 1:{ if(budget>=25) {

#include using namespace std;

void displayMenu(); void displayMenu2(); int main() { int choice, total = 0,n,budget,cnt=0; cout > choice; if (choice == 1){ cout>n; for(int i=0;i { displayMenu(); cin>>choice; switch(choice) { case 1:{ cout>budget; while(budget>=25) { displayMenu2(); cin>>choice; switch(choice) { case 1:{ if(budget>=25) { cout=40) { cout65) { cout 1 2 #include using namespace std; void displayMenu(); int main() { int choice, animalchoice, total = 0,n, budget, cnt=0; cout > choice; if (choice == 1){ cout>n; for(int i=0;i>choice; switch(choice) case 1:{ cout>budget; 48 while(budget>=25) displayMenu(); cin>>choice; switch(choice) case 1:{ if(budget>=25) cout=40) cout65) cout

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!