Computers and Technology, 22.07.2021 22:30 kb0767729
I am trying to create a menu with borders. I am trying to have the cout statement inside of the menu border but it isn't producing right. what is the best way to have the cout inside of the menu
#include "stdafx. h"
#include "stdafx. h"
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include "ConsoleApplication13.h"
using namespace std;
string donor_name;
double donor_amount;
int choice;
int main()
{
cout << " \n\n " << endl;
cout << " ** **" << endl;
cout << " ** **" << endl;
cout << " ** 1. Add a contributor. **" << endl;
cout << " ** 2. Search and update contributor. **" << endl;
cout << " ** 3. Display all Donor information. **" << endl;
cout << " ** 4. Department Total. **" << endl;
cout << " ** 5. Delete Donation. **" << endl;
cout << " ** 6. Exit. **" << endl;
cout << " ** **" << endl;
cout << " ** **" << endl;
cout << " ** **" << endl;
cout << " ** **" << endl;
cout << " ** Choose one: " < > donor_name;
cout << "\nPlease enter amount donor contributed: \n";
cin >> donor_amount;
cout << "\n\n=Donation to organization= \n";
cout << "\n1.)NHTS 2)PBL 3)PTK 4)SEA\n";
system("CLS");
goto here;
case 2:
cout << "==Search and update contributor==";
system("CLS");
goto here;
case 3:
cout << "==Display all donations==";
system("CLS");
goto here;
case 4:
cout << "==Total Contributions==";
system("CLS");
goto here;
case 5:
cout << "==Delete a donor donation==";
system("CLS");
goto here;
case 6:
exit(0);
}
system("pause");
system("CLS");
return 0;
}
Answers: 3
Computers and Technology, 23.06.2019 04:10
2pointswho was mikhail gorbachev? oa. a russian leader who opposed a coupob. a polish leader who founded the labor union "solidarityoc. a soviet leader who called for a closer relationship with the unitedstates, economic reform, and a more open societyd. a soviet leader who called for more oppression in the soviet union
Answers: 3
Computers and Technology, 23.06.2019 07:30
What key should you press and hold to select and open multiple files at one time? enter alt control esc
Answers: 1
Computers and Technology, 23.06.2019 13:30
What is the primary difference between the header section of a document and the body? a. the body is displayed on the webpage and the header is not. b. the header is displayed on the webpage and the body is not. c. the tag for the body is self-closing, but the tags for the headers must be closed. d. the tag for the header is self closing, but the tag for the body must be closed.
Answers: 3
I am trying to create a menu with borders. I am trying to have the cout statement inside of the menu...
English, 20.04.2021 02:50
History, 20.04.2021 02:50
Mathematics, 20.04.2021 02:50
Arts, 20.04.2021 02:50
Physics, 20.04.2021 02:50
Mathematics, 20.04.2021 02:50
Chemistry, 20.04.2021 02:50
History, 20.04.2021 02:50
Social Studies, 20.04.2021 02:50