Computer Science, asked by sujit1970dutta, 11 months ago

write a loop program to check and display all natural numbers from 11 to 100 which are not divisible by 7
please answer fast it urgent
If you can't please leave it​

Answers

Answered by pavithranatarajan855
2

Answer:

Using For loop

int i=11;

for(i=11;i<=100;i++){

if(i%7!=0){

printf("%d",i);

}

}

Using while loop

int i=11;

while(i>=11 && i<=100)

{

if(i%7!=0){

printf("%d",i);

i++;

}

}

Explanation:

Answered by krashiMishra
3

Answer:

OK

Explanation:

Hope it will help you plese follow me and mark me brilliant

Attachments:
Similar questions