Divisible
This commit is contained in:
11
Divisible.c
Normal file
11
Divisible.c
Normal 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
BIN
Divisible.exe
Normal file
Binary file not shown.
@@ -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 |
|
||||
|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 |
|
||||
Reference in New Issue
Block a user