Nowadays, Hindi language has adopted roman system of writing numericals but traditional schools and teachers also writes in its own Devanagari writing system of numericals. In Devanagari these numbers are written as-
१,२,३,४,५,६,७,८,९,१०, ११,१२,१३,१४,१५,१६,१७,१८,१९,२०, २१,...........................,७८,७९,८०,..... ९६,९७,९८,९९,१००.
The numbers sign is as same as it is in Hindi.
fdsgfhgdfhgdf
Write out the numbers 1 to 100. Count the number of times 1 appears.
101
100, 101, 102, keep adding a 1 until you reach 198, 199, 200.
The numbers sign is as same as it is in Hindi.
fdsgfhgdfhgdf
Write out the numbers 1 to 100. Count the number of times 1 appears.
hongotoka
-99
Write a c program to print the 100 to 1 nos
101
100, 101, 102, keep adding a 1 until you reach 198, 199, 200.
100, 101, 102, keep adding a 1 until you reach 198, 199, 200.
In Java:System.out.println("Even numbers")for (int i = 2; i
#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(); }
11