Program to find whether the input is a multiple of 7 or not in C++

Program to find whether the input is a multiple of 7 or not in C++

[xyz-ihs snippet=”Google-Adsense”]

-Program:

#include <stdio.h>
#include <conio.h>
void main() {
int num;
printf(“Enter a Number : “);
scanf(“%d”,&num);
if(num%7==0)
printf(“\nMultiple of 7”);
else
printf(“\nNot a multiple of 7”);
getch();
}

[xyz-ihs snippet=”200-x-90″]

-Output:

[xyz-ihs snippet=”200-x-90″]

Program to check mutliple of 7

Program to check mutliple of 7


“My posts/articles/images are not allowed to be stolen/copied anywhere at Cyber space. Doing so will allow me to take a legal action against the copier.”

[xyz-ihs snippet=”200-x-90″]

Related Posts

Leave a Comment

Kindly solve the following puzzle to prove that you\'re not a bot: