simple calculator program that fails compilation