How can I have the below code loop/take multiple inputs from a user and only exit when a user enters in \'-1\' followed by another \'-1\'?
In the snippet of code belo