answersLogoWhite

0

C program to find numbers dvisible by 3 and 7?

Updated: 8/17/2019
User Avatar

Wiki User

14y ago

Best Answer

bool isDivisibleBy3and7 (int N) return ((N % 3)==0 && (N % 7) == 0);

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

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

What is 144 dvisible by?

1, 2, 3, 4, 6, 8, 9, 12, 16, 18, 24, 36, 48, 72, 144


What is an integer of 71 but the difference of 3?

71 is, itself an integer but to find a difference you require 3 numbers.71 is, itself an integer but to find a difference you require 3 numbers.71 is, itself an integer but to find a difference you require 3 numbers.71 is, itself an integer but to find a difference you require 3 numbers.


How do you decrypt 3 digit numbers?

You can use C++ program to decrypt 3 digit number


How do you find a mean?

To find the mean of numbers, add all of the numbers together and then divide them by the number of numbers there are. For example if I want to find the mean of 1, 2, and 3. 1+2+3= 6 and there are 3 numbers that I am using to find the mean (1, 2, and 3). So I divide 6 by 3 and get 2 which is the mean.


How do you find the area of 3 numbers?

You don't. You can find the area of geometric figures, not of numbers.


Write the program in qbasic and add two numbers?

Cls input "enter two no.s ",a,b sum=a+b print "sum = ";sum end


Find the largest palindrome made from the product of two 3-digit numbers?

906609=913*993 I found this using a relatively simple computer program that I wrote.


One numbers 3 times another numberthe difference between the numbers 10 Find the numberswhat are answer?

One numbers 3 times another number.the difference between the numbers 10. Find the numbers.


How would you find the LCM of 3 prime numbers?

What you do is multiply all 3 numbers together.


How do you find the median if you have 3 numbers?

Add the 3 numbers together, and then divide the total by 3. This will give you the median number.


How do you find the middle of 2 numbers?

What you are trying to find is the average or mean. You find this by adding all the numbers in a set together and divide by the amount of numbers you added. Example: 1, 1, 2, 2, 3, 3. Find the average (mean). Add all the numbers in the set together: 1 + 1 + 2 + 2 + 3 + 3 = 12 Divide by the amount of numbers you added: You added together 6 numbers: 12 ÷ 6 = 2. Mean of {1, 1, 2, 2, 3, 3} = 2.


Write a C program to find greater number among three numbers using for loop?

#include<stdio.h> void main() { int a[3],i,b; printf("Enter 3 numbers\n"); for(i=0;i<=3;i++) scanf("%d",&a[i]); b=a[0]; for(i=0;i<=3;i++) if(a[i]>b) b=a[i]; printf("The biggest number is %d",b); }