Computer Science, asked by BrightStudent2004, 5 hours ago

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 ssangeetasingh485
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.

Explanation:

hope it helps you....

Answered by ElegantMermaid
1

Answer:

Hey mate,

You can find the required answer from the link given below:

https://brainly.in/textbook-solutions/ncert_informatic-practices

Explanation:

Hope You Find It Useful...

Thanks & Regards...

Do mark my answer as Brainliest...

#BeBrainly❤❤

Similar questions