KodeGod.com

019. Write a program to accept a number from user and print if it is multiple of 7 in C language

#include<stdio.h>
#include<conio.h>  
main()
{
 int n;
 clrscr();
 printf("Enter number...");
 scanf("%d",&n);
 if(n%7==0)
	printf("Number is multiple of 7");
 else
	printf("Number is not multiple of 7");
 getch();
}