you can have any character be an "end" symbol. for example you can make a while loop that will terminate if the user inpute equals '0' or '.'