When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For more information use !howto ask.
16 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For more information use !howto ask.
on line 14 replacing the first op with "+" will resolve it? is this the solution you are looking for?
oh yeah thank you so much
btw can u help me one more time, why my divide function didnt work
one sec
alright, maybe new post?
you need to input 3 values i am guessing -> try input 1/2/1
this should do the trick
ooo... yes yes i see
btw how to loop the calculator? after one operation it just ask me to press any key to exit
many ways, basically: put your code inside the loop
suggestion: a while loop (https://www.w3schools.com/cpp/cpp_while_loop.asp) with a condition that relies on user input every time you want to reuse your calculator.
will check it out thank you !!
so i should put the int...... while" on top before switch
i am not sure what you mean, good luck