guys what is variable can be use in 15-0111 is it integer or something | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

guys what is variable can be use in 15-0111 is it integer or something

27th Sep 2016, 2:05 PM
billy
billy - avatar
3 Answers
+ 2
Use string
27th Sep 2016, 6:40 PM
Muthukumar Arumugam
Muthukumar Arumugam - avatar
+ 1
Int -> Intergers, 1, 2, 3, 5, 7, 45, 666, 43, 97437 float -> Decimals, 1.0, 2.547, 8.302764 double -> Decimals, 1.0, 2.456, 8.4394, 345.8 What's the differenece you may ask. doubles are more precise. More decimals. Why float? Less memory usage.
27th Sep 2016, 4:43 PM
Andreas BeEm Kvist
Andreas BeEm Kvist - avatar
+ 1
Use string, String or char[].
29th Sep 2016, 10:36 AM
Samuel Neo
Samuel Neo - avatar