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
Get step-by-step solutions from verified subject matter experts
