Question Detail

COM 101 COM 101 Past Questions Objective Question

Question

40. 22/7(22 divided by 7) would result in a number that can be classified as:
Options
A A character data type
B An integer data type
C A Quotient data type
D A floating-point data type
Correct Answer
Correct Answer

Option D is the correct answer.

Detailed Explanation

22/7 results in a decimal number (≈3.142857), which is a floating-point value.

Hint

Division of integers often yields a decimal.

Question Info