+ 3
Here if you want to have some input , you must input all the values at start, it a format of this place....
learn this thing as syntax. it will be helpful in all codes in future
๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐ป๐๐ป๐๐ป๐๐ป๐๐ป๐๐ป๐๐ป๐๐ป๐๐ป
+ 2
Yes send it
+ 2
And it is not always required to yo external input in while loop ,
+ 2
Click on plus icon on your answer in typing part , choose there , insert code , there go for , my code bits and then select the required code
+ 2
Yup
+ 2
It is just a format of this platform , means of sololearn
+ 2
That cin>>number ;
this is an input command,
+ 1
What ?how do we know what you are talking about without linking the code
0
The loop is to run 5 times which mean u need to enter value 5times
while (num <= 5)
0
Why u gave external input first



