A Simple Question,Answer would be Highly Appreciated.
Hi,I'm a beginner with C.
And a Bit confused with the Following Snippet,can you guys help?
The Following Function Excepts 25 Numbers from the Keyboard & Prints the sum of the +ve Number's
puts("Enter a Number");
if(num <=0) /* non positive numbers*/
printf("The sum of positive numbers entered is %d\n",sum);
1.can you Explain "sum=sum+num"
2.Can you give me a clear idea of things? and explain to me the function in detail,please!
Thanks for the Help,:)