0

How to allow unlimited user input?

Trying to determine whether groceries are too expensive. https://code.sololearn.com/cpp005dyNVX2/#cpp Three string variables are declared, which restrict the user to three inputs (before code malfunctions...). How can we allow for more user inputs without having to declare more strings?

5th Aug 2020, 1:19 AM
Solus
Solus - avatar
1 Odpowiedź