Computer Science, asked by shivamk4638, 6 months ago

briefly describe int, float, double and boolean data types.​

Answers

Answered by Rishabh5169
7

Answer:

Well this question is related to coding and these days I'm learning C++ and Python coding language so I think I can answer these. Here's your answer mate

  • 'int' are variables which are used for storing numbers or negative numbers. (but they cannot be used for storing Decimal Numbers)
  • 'float' are also variables which are used for storing numbers(positive numbers as well as negative numbers) but unlike 'int' they can be used for storing normal numbers as well as Decimal Numbers
  • 'double' are also variables used for storing numbers(positive numbers as well as negative numbers). They can also store normal numbers as well as Decimal Numbers(but the difference between float and double is that double is more precised than float )
  • 'boolean' are written as bool in coding and they store that a statement or data is true or false

If you find this useful then please mark me as the BRAINIEST.

If you mark me as the BRAINIEST then I will always be grateful to you. 。◕‿◕。

Similar questions