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 when I input 2 100 3 4 i need the output to look like 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) { case 1:{ cout>budget; while(budget>=25) { displayMenu2(); cin>>choice; switch(choice) { case 1:{ if(budget>=25) { cout=40) { cout65) { cout 1 2 #include
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started