Link to home
Start Free TrialLog in
Avatar of nationnon
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 >> ???????

Avatar of nationnon
nationnon

ASKER

Adjusted points from 30 to 60
ASKER CERTIFIED SOLUTION
Avatar of MDarling
MDarling

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks