Lesson 1.7 · Answer it
Data types
3 marksYou mark it yourself against the marking points
A library program stores three values about each book. Identify the most suitable data type for each value.
(a) the number of times the book has been borrowed
(b) the book's average star rating, such as 4.25
(c) whether the book is currently on loan
[3]