+ 1
How much is my code correct? Grades from 1 to 5!
4 ответов
+ 1
TeaserCode use Q&A for asking programming related questions only,if you need suggestion on your code use feed or join some group or maybe message some of your friends
+ 1
TeaserCode are you looking for a review of your code quality, that it is producing the correct output, or both?
+ 1
Code either correct or not! Either it gives required result or not gives.
Cant be half pregnant.
Another question:
Is your code written in a "elegant" way!
+ 1
4, if you’re going to define the limit var then user input is not needed in the function definition. Also, you can delete the ‘int n,’ declaration in the function as well because the for loop defines it was well.