Computer Science, asked by bhumi47635, 8 months ago

Write a program to find whether 200 is a multiple of 10 or not.

Answers

Answered by hariharan11122006
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 mansipanwar6773
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