Question: #include #include using namespace std; void displayOriginalArt ( ) { / / Your original ASCII art goes here / / Make sure it's between 5

#include
#include
using namespace std;
void displayOriginalArt(){
// Your original ASCII art goes here
// Make sure it's between 5 and 80 lines
// and has a maximum width of 100 characters per line
}
void displayHotAirBalloon(int size){
// Your code to display the hot air balloon based on the given size goes here
}
int main(){
cout << "Program 1: Hot Air Balloons" << endl;
cout << "Which option would you like?" << endl;
cout <<"1. Display original graphic" << endl;
cout <<"2. Display Hot Air Balloon" << endl;
cout << "Your choice: ";
int choice;
cin >> choice;
if (choice ==1){
displayOriginalArt();
} else if (choice ==2){
int size;
cout << "What is the size of the hot air balloon? ";
cin >> size;
if (size >=2){
displayHotAirBalloon(size);
} else {
cout << "Size must be 2 or greater." << endl;
}
} else {
cout << "Invalid choice." << endl;
}
return 0;
}

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!