When you use the insertion operators >> on line 10 to read into your variables, you are left with a '\n' from pressing enter. The first call to cin.get() reads the newline character and enters the switch the choice equal to '\n'.
You should probably ignore() any remaining input in cin before reading in the character with get().
Thank you for your quick assistance.
I need more explaining, what should I add to the code ? or what should I remove ?
I am sorry, I have only 1 week experience :P, so forgive me.
Update: I added cin.ignore('\n');
before choice = cin.get();
the twice problem disappeared, but new problem happened, no cout is gonna be happen in switch
I mean when I input + - / * % , nothing happens
All thanks to Zhuge, without him I will never get my full mark in that question
For those who want to know how:
I added this line : cin.ignore(1,'\n'); // Thanks to Zhuge
before the line : choice = cin.get();
Problem solved