Differ first and following

Hi guys I am stuck with an issue as I need to come up with a code such that the first time run it requires only a number and the following will be a number and operation. I am done with the second half but I have totally no idea how to create a code just for the first time just the number. Can I have any clues how to start please.
Thank you
closed account (48T7M4Gy)
?
I have to create a function in class called void getCommand where I have to request a number for the first time and request a operation (+,-,/or *) then a number for the following
closed account (48T7M4Gy)
1
2
3
4
void getCommand()
{
    some code here ...
}
Last edited on
Topic archived. No new replies allowed.