I just don't get why you use while loop 2 times.
But for a second project nicely done.
I still would write a function to output the menu selection and ask for users selection and run it with the while loop until "option != 4"
then another function for the switch, but I guess I'm already getting too far for you....
So nice work!
EDIT:
is same as
I prefer the second
But for a second project nicely done.
I still would write a function to output the menu selection and ask for users selection and run it with the while loop until "option != 4"
then another function for the switch, but I guess I'm already getting too far for you....
So nice work!
EDIT:
Code:
cout << ":::Calculator v1::: \n";
is same as
Code:
cout << ":::Calculator v1::: " << endl;
I prefer the second