The assignment indicates that the program should be able to take in doubles instead of ints so we should use ```readDouble``` instead of ```readInt```