Computer Science, asked by latha1122, 10 months ago

write a c program to print 3 divisble number from 3 to n?​

Answers

Answered by Anonymous
0

Answer:

hola mate gummie ✌❤❤

#include "conio.h"

#include "stdio.h"

void main()

{

int num;

printf("\nEnter a number ");

scanf("%d",&num);

if(num%3==0)

{

if(num%5==0)

{

printf("\nThe number %d is divisible by 3 and 5");

}

else

{

printf("\nThe number %d is divisible by 3 but not by 5");

}

}

else

{

printf("\nThe number %d is niether divisible by 3 nor by 5");

}

getch();

}

have a great day ahead....

Mark as Brainliest plzzzzz ❤✌✌...

\huge\underline\mathfrak\red{Follow \ meeh} ✌❤

Similar questions