Why this code not give properly output in SoloLearn compiler and it's also give proper output in " VS CODE"....... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why this code not give properly output in SoloLearn compiler and it's also give proper output in " VS CODE".......

https://code.sololearn.com/cD57RKSZdRY9/?ref=app

15th Sep 2020, 9:02 AM
Learner
Learner - avatar
2 Answers
+ 1
Your method is called just "main()" you must specify a return type and parameters: int main(int argc, char* argv[]){ //Your code } Then it will work.
15th Sep 2020, 9:25 AM
Nikolay Ganev
Nikolay Ganev - avatar
0
Thanks.
15th Sep 2020, 4:40 PM
Learner
Learner - avatar