Write a program to find whether 200 is a multiple of 10 or not.
Answers
Answered by
1
Explanation:
C Code:
#include <stdio.h>
#include <stdlib.h>
int main(void){
printf("%d",test(3));
printf("\n%d",test(14));
printf("\n%d",test(12));
printf("\n%d",test(37));
}
int test(int n)
{
return n % 3 == 0 || n % 7 == 0;
}
pls mark as brainliest
Answered by
1
Answer:
class multiple
{
public static void main(String args[ ])
{
int a ,b,c
{
a=200;
b=10;
c=a%b;
}
if (c==0)
System.out.print("It's a multiple");
else
System.out.print("It's not a multiple");
}
}
}
Similar questions