Computer Science, asked by simapal50, 1 year ago

Can anyone explain me what is the use of int,float,double in Have?

Answers

Answered by sukritithakur
0
Int is used as adatatype for assigning integer value ;float is used for decimal values which are very long and double is used for decimal values but for short values.
Answered by RajTejaswi
1

Hi there,   int - data type int is used to define integer numbers.     {         int Count;         Count = 5;     } float - data type float is used to define floating point numbers.     {         float Miles;         Miles = 5.6;     } double - data type double is used to define BIG floating point numbers. It reserves twice the storage for the number. On PCs this is likely to be 8 bytes.     {         double Atoms;         Atoms = 2500000;     } Hope this helps :D  Pls mark as the brainliest...

Similar questions