nationnon
asked on
c++ question
I asked this question earlier but I don't know if it went through or not.
how do I get c++ to ask the user which employee (1 or 2) they want to see?
I have this but it's probably way off.
// Declare and define variables
{
char fEfirstName[10];
char fElastName[10];
char sEfirstName[10];
char sElastName[10];
double fEgPay;
double fEnPay;
double sEgpay;
double sEnpay;
double grossPay;
// ask user which employee they want to view
cout << "Chose employee 1 or 2 "
cin >> ???????
how do I get c++ to ask the user which employee (1 or 2) they want to see?
I have this but it's probably way off.
// Declare and define variables
{
char fEfirstName[10];
char fElastName[10];
char sEfirstName[10];
char sElastName[10];
double fEgPay;
double fEnPay;
double sEgpay;
double sEnpay;
double grossPay;
// ask user which employee they want to view
cout << "Chose employee 1 or 2 "
cin >> ???????
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks
ASKER