How to allow unlimited user input? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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
0 Answers