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
Why can't I perform arithmetic on a void* pointer?
What is the purpose of the statement: strcat (S2, S1)?
What does 2n 4c mean?
How do I copy files?
What is p in text message?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
What are the 4 types of organizational structures?
Explain what is the difference between functions abs() and fabs()?
What are valid signatures for the Main function?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
What are the two types of structure?
Is a house a mass structure?
What is the collection of communication lines and routers called?
What is %lu in c?
Which is better between malloc and calloc?