95.5k views
2 votes
!!!URGENT!!!

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

User Jabal
by
7.0k points

1 Answer

3 votes
A. Integers. Integers have to do with positive or negative whole numbers without decimals, so like with apples in a basket you would have 5 apples, not 5.67 apples. Whereas floating numbers has to do with decimals where it is basically saying the decimal can float. Strings are quite confusing but basically this is a string 1.5.1, and you would not have 1.5.1 of an apple. A Boolean is have to do with the truth values true and false and is normally denoted 1 and 0. Hope this helps!
User Azerafati
by
6.9k points