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
It is 10*(10+1)/2 = 55
The numbers are 11 and 10.
10
16