What is the purpose of using ranges for all general datatypes in programming languages?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the purpose of using ranges for all general datatypes in programming languages??

2nd Jul 2019, 2:13 PM
Devibala P
Devibala P - avatar
2 Answers
+ 4
We have some range from a to b! The items of this range are b,b-1,b-2,b-3,b-4,...,a+1!
2nd Jul 2019, 2:39 PM
CodeFu
CodeFu - avatar
+ 1
Can any one tell me how the ranges varies from one to another
2nd Jul 2019, 2:21 PM
Devibala P
Devibala P - avatar