Contact PSVM   (Q & A)  |  Notes Below   Audio  |  [toc]   [prev] Slide 3 of 21 [next]
SIJLesson17 Slide03
1, 2, [3 (top)], 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, [Lab]

Notes for Slide 03
Given that you can store a number in an int variable,
the question is what functionality is
missing in ints so that we need the concept of
using doubles instead of ints for numbers?
The problem arises when dividing int numbers.
The average of 59 and 60 cannot be 59.5 if
numbers were not allowed to have decimal points.
Using doubles allows us to store numbers with
decimal points, enabling more accurate values
when dividing numbers.


1, 2, [3 (top)], 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, [Lab]