1 1 1
11
main() { sum=0; float avg=0.0; int sqr[10]; for(i=1;i<=10;i++) { sqr[i]=(i*i); } for(i=1;i<=10;i++) { sum=sum+sqr[i]; } avg=sum/10; dts it !!!
The numbers are 11 and 10.
16
The sum of the first 10 counting numbers (1-10) is 51.
The composite numbers between 1 and 10 are 4, 6, 8, 9, 10. And their sum is 37.
The two numbers 10 and -1: 10 × -1 = -10 10 + -1 = 10 - 1 = 9
1 1 1
11
well, let's break it down. First, the even numbers between 1 and 11 are, 2,4,6,8,10. Now 2+4=6, 6+6=12, 8+12=20, 20+10=30. So, to answer your question simply, the sum of even numbers between 1 and 11, is 30.
main() { sum=0; float avg=0.0; int sqr[10]; for(i=1;i<=10;i++) { sqr[i]=(i*i); } for(i=1;i<=10;i++) { sum=sum+sqr[i]; } avg=sum/10; dts it !!!
11
The numbers are 11 and 10.
10
16
The general equation to find the sum of the numbers 1 to n is: (n*(n+1))/2So, for n=10, you have:(10*(10+1))/2(10*11)/2110/255