We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8510e00 commit 0fdc5b2Copy full SHA for 0fdc5b2
1 file changed
num_divisible.c
@@ -0,0 +1,13 @@
1
+#include <stdio.h>
2
+main()
3
+{
4
+ int i;
5
+ printf(" First 100 numbers which are divisible by 3 and 5 ");
6
+
7
+ for (i=1; i<=100; i++)
8
+ {
9
+ if (i%3==0 && i%5==0)
10
+ printf(" %d", i);
11
+ }
12
+ getch();
13
+}
0 commit comments