I have problem with my program when I build and run it, it makes me to enter the value 6 times to see the result. What I know is, when I declare more variables, I should enter more values to see the output, Even tho I am a beginner c++ coder, so a help might be useful for me <3. Code as shown.
Well, you're doing 6 cin statements (lines 4-9). What do you expect?
What I suspect you want to do is ask only for choice at the top of the program. Then within the if statements for each employee, ask for the salary for the respective employee.
Also, why are you doing a cin of Total when you compute Total?
Be aware you doing integer arithmetic. You may not get the results you expect.
PLEASE ALWAYS USE CODE TAGS (the <> formatting button) when posting code.
It makes it easier to read your code and also easier to respond to your post. http://www.cplusplus.com/articles/jEywvCM9/
Hint: You can edit your post, highlight your code and press the <> formatting button.