Unless the values of the things will no be know things, then the sum will also not be known
20
x-7
The GCF is 7.
#include<stdio.h> #include<conio.h> main() { int a,b,sum=0; clrscr(); printf("Enter two variable:--"); scanf("%d%d",&a,&b); sum=a+b; printf("Sum of %d+%d=%d",a,b,sum); getch(); }
Unless the values of the things will no be know things, then the sum will also not be known
a + d
20
x-7
The sum of 11 and 7 is 18.
18 + d
d + f.
D + D = M
the sum of 7 and 23 is 30..
The GCF is 7.
#include<stdio.h> #include<conio.h> main() { int a,b,sum=0; clrscr(); printf("Enter two variable:--"); scanf("%d%d",&a,&b); sum=a+b; printf("Sum of %d+%d=%d",a,b,sum); getch(); }
Sum(not div by 7) = Sum(all) - Sum(div by 7) Now the sum of an AP is Sn = n/2 (first + last) where n is the number of terms Sum(All) = 10000/2 (1 + 10000) = 50005000 Sum(div by 7) = (9996/7)/2 (7 + 9996) = 1428/2 (10003) = 7142142 Sum(not div by 7) = Sum(all) - Sum(div by 7) = 50005000 - 7142142 = 42 862 858