2+4+6+8+10+12+14+16+18+20+22+24+26+28+30=240
The sum of the first 15 positive even numbers is 240. (Simply square 15, then add 15 to the result: 15 x 15 = 225. 225 + 15 = 240).
The sum of the first 5 numbers is 15. 1+2+3+4+5=15
#include<stdio.h> #include<conio.h> void main() { int c=1,i; unsigned int s=0; clrscr(); for(i=1,(i<=15;i++)) { if(i%2==0) { s=s+i; c=c+i; } } printf("/n sum of the first 15 even numbers is%d",s); printf("/n square of the sum is: %d",(s*s)); getch(); }
To find the sum of the numbers 9, -11, and 15, you add them together: (9 + (-11) + 15). First, (9 - 11 = -2). Then, (-2 + 15 = 13). Therefore, the sum is 13.
Must be the 2 odd numbers, 9 & 15 (P = 135, S = 24)
The sum of the first 15 positive even numbers is 240. (Simply square 15, then add 15 to the result: 15 x 15 = 225. 225 + 15 = 240).
the sum of the first 15 prime numbers is 328 .
The sum of the first 15 odd numbers is 225.
The sum of the first 5 numbers is 15. 1+2+3+4+5=15
The sum of the first five whole numbers is 10.
The sum of the smallest 15 positive integers is 120. The sum of the smallest 15 negative integers is -120.
#include<stdio.h> #include<conio.h> void main() { int c=1,i; unsigned int s=0; clrscr(); for(i=1,(i<=15;i++)) { if(i%2==0) { s=s+i; c=c+i; } } printf("/n sum of the first 15 even numbers is%d",s); printf("/n square of the sum is: %d",(s*s)); getch(); }
15
(1+15)*15/2first plus last times number of numbers then divide by two
Write an. Algorthim. To. Find the. Sum. Of. First15 natural. Numbers
1+1+1+1+1+=5 * * * * * The question did not ask for the sum of the first counting number five times! The sum of the first 5 counting numbers is 1+2+3+4+5 = 15. Such sums are known as triangular numbers.
To find the sum of the numbers 9, -11, and 15, you add them together: (9 + (-11) + 15). First, (9 - 11 = -2). Then, (-2 + 15 = 13). Therefore, the sum is 13.