Which data type will be used to represent the following
data values and why?
a) Number of months in a year
b) Resident of Delhi or not
c) Mobile number
d) Pocket money
e) Volume of a sphere
f) Perimeter of a square
g) Name of the student
h) Address of the student
Answers
Answered by
2
Answer:
The int data type will be used to represent 'Number of months in a year' as it will be an integer i.e. 12. b) The boolean data type will be used to represent 'Resident of Delhi or not' as a person will be either a resident of Delhi or not a resident of Delhi.
Answered by
0
Answer:
hii
Riya ❤️❤️❤️
will be my friend
Similar questions
Computer Science,
1 month ago
Political Science,
1 month ago
English,
1 month ago
Science,
3 months ago
Hindi,
3 months ago
Biology,
9 months ago
English,
9 months ago
Chemistry,
9 months ago