0
Data types means
Please reply
4 Réponses
+ 1
∆BH∆Y Pls do attach the link to the source when you are copy pasting from search engines or much better is to give the link alone ...You knw u need to give credits for works/info thats not yours ...
Original link 👇
https://en.m.wikipedia.org/wiki/Data_type
+ 1
Things are of a type of data
'a' in english language is called a letter its type is of letter
'a' in programming is called a char its type is of char
1 in english is called a number its type is of number
1 in programming is called an int its type is of int
It's just a way for a computer to know what its storing
When you create a variable you have to declare what type of data it will store
Think of a variable like having a box in real life that has a label on it called books and knowing when you refer to the books box you will find only books
0
Data type example:
Q: Do you eat regularly?
A: yes (Boolean data type)
Q: How many times you eat in a day?
A: 3 (Integer or number data type)
Q: Describe yourself.
A: I am Mr. T... (String data type)
To better understand - search it in Google.