Homework 7 Calculator in class