0.
There are a total of 14 numbers between 0 & 100 that are divisible by 7.
100,000,000,000,000
100,000
Because their system is based on adding numbers ob so a zero is not nessaCary it is like instead of 5+10+20+5+60=100 you write 5+0+10+0+20+0+5+0+60=100
There are 99 numbers between 0 and 100.
100
0.
You add the numbers in a loop. Here is an example in Java:int sum = 0;for (int i = 1; i
0 and 1
#include<stdio.h> #include<conio.h> void main() { int i, a[100]; clrscr(); printf("Numbers from 1 to 100"); for(i=1;i<=100;i++) printf(" %d",a[i]); printf("Numbers from 1 to 100 without multiples of 2"); for(i=1;i<=100;i++) { if (a[i]%2 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 3"); for(i=1;i<=100;i++) { if (a[i]%3 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 4"); for(i=1;i<=100;i++) { if (a[i]%4 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 5"); for(i=1;i<=100;i++) { if (a[i]%5 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 6"); for(i=1;i<=100;i++) { if (a[i]%6 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 7"); for(i=1;i<=100;i++) { if (a[i]%7 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 8"); for(i=1;i<=100;i++) { if (a[i]%8 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 9"); for(i=1;i<=100;i++) { if (a[i]%9 !=0) printf(" %d",a[i]); } getch(); }
The numbers 0-100 are written out; after 100 you use the numbers themselves Example: I saw the movie ten times John saw the movie 103 times!
There are a total of 14 numbers between 0 & 100 that are divisible by 7.
Since 100/4 = 25, there are 25 numbers between 0 and 100 divisible by 4.
100,000,000,000
100,000,000,000,000
10000000000