This lab emphasizes choice of correct numeric type (int or double). Guidelines
below are copied over from the Note on Transcripts page:
use integer only when:
1. problem specifies integer type. example: 'user enters an
integer input.'
2. the nature of the data indicates it can never have a
fractional part. example: the number of books ordered, the
number of students in a class. Don't be misled by any
numbers I may have used in the question; focus on the
nature of the underlying item. For example, if the height
of a wall is the item in question, and I give examples as
10, 12 and 15 feet, what you need to ask yourself is: can
that height also have a fractional part?
If the input to an app is specified as a particular type, but a
computation within the app requires a different type, the
correct approach is to convert the value of the variable, prior
to computation, to the appropriate type. In particular, you
should not force a change of the input type to match the
computation's type. Input type must conform to what is
specified.