(Please use C language, not C++) Determine the followinginformation about each value in a list of positive integers.
a. Is the value a multiple of 7, 11, or 13?
b. Is the sum of the digits odd or even? (parameter outputreturns 0 for even, 1 for odd)
c. Is the value a prime number? (parameter output returns 0nonprime, 1 for prime)
Use an output file for results. The goal is to implement bothpass by value and pass by reference.
Typical Input could be: 104 3773 12 121 77 30751 -1
You main will look like this:
void main()
{
int value;
int multi, oddEven, prime;
getInput(&value);
while (value != -1)
{ multipleOf(value,&multi);
isOddEven(value, &oddEven);
isPrime(value,
PayPal Gateway not configured
PayPal Gateway not configured