Choose the best data type for each of the following so that any reasonable value is accommodated but no memory storage is wasted. Give an example of a typical value that would be held by the variable, and explain why you chose the type you did.
a. the number of siblings you have
b. your final grade in this class
c. the population of Earth
d. the population of a U.S. county
e. the number of passengers on a bus
f. one player’s score in a Scrabble game
g. one team’s score in a Major League Baseball game
h. the year an historical event occurred
i. the number of legs on an animal
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.