Computer Science, asked by jeuchowdhury, 19 days ago

( Write a program to print integers from 1 to N omitting those integers which are divisible by 10.​

Answers

Answered by chandan454380
2

Answer:

the answer is given in explanation part

Explanation:

#include<stdio.h>

#include<conio.h>

void main()

{

int i , n;

clrscr();

printf ("Enter the limit:");

scanf ("%d ",&n);

for(i=1;i<=n ;i++)

{

if(i%7==0)

{

continue;

}

printf("%d" ,i);

}

getch();

}

Similar questions