Is there a way I can have a user input a bunch of integers consecutively, but when she/he is done she/he would press -111 (must be this number) when finished without having to initialize another data type?
Like this:
while(what the user puts in is not -111)