0
How to convert user's string input into a number in C++
I'm trying to calculate food price via user input. Currently struggling to convert user's string inputs into numbers. Please take a look: https://code.sololearn.com/ciEyabQ2RxhT/#cpp Lastly, how could I specify that the input should be separated by spaces?
1 Antwort