Write a programe print the sum of series 0,1,2,.....10
Answer Posted / akash patil
#include<stdio.h>
voind main()
{
int n=10;
printf("sum is %d",n*(n+1)/2;
getch();
}
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is anything faster than c?
What are identifiers c?
In C programming, what command or code can be used to determine if a number of odd or even?
How important is structure in life?
c program for searching a student details among 10 student details
In c language can we compile a program without main() function?
What is register variable in c language?
What are run-time errors?
Is swift based on c?
What is const keyword in c?
Why does the call char scanf work?
Can you subtract pointers from each other? Why would you?
Explain what is the stack?
What are qualifiers and modifiers c?
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)