Simple Cost Calculator to display my learning of Typecasting