subject

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;
}

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:30
What kind of motivation is katrina showing? use the drop-down menu to complete the statement. katrina is using motivation because she is personally interested in learning more.
Answers: 2
question
Computers and Technology, 23.06.2019 11:00
What is the name of the sound effect that danny hears
Answers: 1
question
Computers and Technology, 23.06.2019 13:00
Which of the following statements is false? a. a class can directly inherit from class object. b. if the class you're inheriting from declares instance variables as private, the inherited class can access those instance variables directly. c. a class's instance variables are normally declared private to enforce good software engineering. d. it's often much more efficient to create a class by inheriting from a similar class than to create the class by writing every line of code the new class requires.
Answers: 3
question
Computers and Technology, 24.06.2019 01:30
Suppose a cpu with a write-through, write-allocate cache achieves a cpi of 2. what are the read and write bandwidths (measured by bytes per cycle) between ram and the cache? (assume each miss generates a request for one block.)
Answers: 1
You know the right answer?
I am trying to create a menu with borders. I am trying to have the cout statement inside of the menu...
Questions
question
Mathematics, 21.11.2019 20:31
question
Computers and Technology, 21.11.2019 20:31
Questions on the website: 13722362