Divisible

This commit is contained in:
2021-04-27 11:13:24 +05:30
parent 7b81e069f7
commit 1a134890b0
3 changed files with 13 additions and 1 deletions

11
Divisible.c Normal file
View File

@@ -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);
}
}
}

BIN
Divisible.exe Normal file

Binary file not shown.

View File

@@ -22,4 +22,5 @@
|20 | QuadraticEquatic. | QuadraticEquatic.exe | WAP to calculate the root of a Quadratic Equation | |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 | |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 | |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 | |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 |