How to store userinput string from a else if within a while loop? C#.net | SoloLearn: Learn to code for FREE!

0

How to store userinput string from a else if within a while loop? C#.net

10/24/2018 9:44:43 AM

Henrik Wihglaard

1 Answer

New Answer

0

create an array, or use dynamic one if available (vector in c++, ArrayList in java, etc) then append each input to that array ex: //its js let arr=[] while(true){ arr.push(input) //i know its not possible to get userinput from console in browser, but its just an example. }