Describe the different types of data type in basic
Answers
Answered by
3
1) int
This data type stores an integer type value, which is a whole number. For example:(5,10)
2)float/double
This data type stores a decimal or fractional value. For example:(5.0,10.0)
3) String
This data type stores an alphabetical value without any numbers. For example:(five,ten)
4) Char
This data type is composed of characters. It can be an alphabetical value, numerical value or even alphanumeric values. For example:(Vote4me)
5) Boolean
This is a conditional data type, just like true or false. For example:( true,false)
Similar questions
English,
5 months ago
History,
11 months ago
Psychology,
11 months ago
Math,
1 year ago
Economy,
1 year ago