answersLogoWhite

0

#include<stdio.h>

#include<conio.h>

void main()

{

int i,c,n; printf("Enter the number of terms you want which are divisible by 7");

scanf("%d",&n);

c=0;

for(i=7;;i+=7)

{

printf("\n %d ",i);

c++;

if(c==n)

break;

}

getch();

}

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine
ProfessorProfessor
I will give you the most educated answer.
Chat with Professor
JudyJudy
Simplicity is my specialty.
Chat with Judy
More answers

bh

User Avatar

KD Deeps

Lvl 2
4y ago
User Avatar

Add your answer:

Earn +20 pts
Q: C program to find numbers divisible by 7?
Write your answer...
Submit
Still have questions?
magnify glass
imp