84.7k views
1 vote
Jack is assisting his younger sibling Mary with her mathematics assignment, which includes a study of the number system. Jack explains to Mary that whole numbers are counting numbers that could be used to record the number of fruits in a basket. Which data type represents whole numbers?

A.
integers
B.
floating-point numbers
C.
strings
D.
boolean

2 Answers

4 votes
Answer: integers

Explanation

math class
User StuckInPhDNoMore
by
4.9k points
3 votes

Answer:

The answer is A). Integers

Step-by-step explanation:

Booleans and Strings don't represent numbers (in most cases) so they can be eliminated.

Floats are used for representing decimals while integers are used for whole numbers.

User Annica
by
5.0k points