How to correct declare set of integers in one variable if you use sololearn compiler? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to correct declare set of integers in one variable if you use sololearn compiler?

Example: int N = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10; https://code.sololearn.com/c67gpByU6ZKm/?ref=app

25th Aug 2020, 7:04 AM
TeaserCode
2 Answers
+ 1
Give us some examples of what you want to achieved.
25th Aug 2020, 7:05 AM
Rohit
+ 1
Can u clarify your please may be you want to store multiple int type of values for this you can use array Like Int arra[]={1,2,3,4,5};
25th Aug 2020, 7:13 AM
A S Raghuvanshi
A S Raghuvanshi - avatar