Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
If you're talking about loop counter, then integer is most favourable. Float has issue with precision, so, not a good idea. Boolean only knows true or false, we can't increment or decrement boolean. If you meant something else, then explain clearly in your thread Description.
4th Apr 2020, 2:37 PM
Ipang