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