diff --git a/Divisible.c b/Divisible.c new file mode 100644 index 0000000..93d9ebb --- /dev/null +++ b/Divisible.c @@ -0,0 +1,11 @@ +// WAP to find an addition of numbers which are >30, <100 & divisible by 7. + +void main() { + int i; + printf("Numbers between 30 and 100, divisible by 7 : \n"); + for(i=30;i<100;i++) { + if(i%7==0) { + printf("%d \n",i); + } + } +} \ No newline at end of file diff --git a/Divisible.exe b/Divisible.exe new file mode 100644 index 0000000..035b0f3 Binary files /dev/null and b/Divisible.exe differ diff --git a/Order Of Programs.md b/Order Of Programs.md index f25ce69..145b1a4 100644 --- a/Order Of Programs.md +++ b/Order Of Programs.md @@ -22,4 +22,5 @@ |20 | QuadraticEquatic. | QuadraticEquatic.exe | WAP to calculate the root of a Quadratic Equation | |21 | Triangle.c | Triangle.exe | WAP to check whether a triangle can be formed by the given value for the angles | |22 | Calculator.c | Calculator.exe | Write a menu driven program for calculator | -|23 | MultiplicationTable.c | MultiplicationTable.exe | WAP to print the multiplication table for a given number | \ No newline at end of file +|23 | MultiplicationTable.c | MultiplicationTable.exe | WAP to print the multiplication table for a given number | +|24 | Divisible.c | Divisible.exe | WAP to find an addition of numbers which are >30, <100 & divisible by 7 | \ No newline at end of file