Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedHere 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.image text in transcribed

#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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

2. Outline the functions of nonverbal communication

Answered: 1 week ago