C Programming Language
Write a main function that include these operations:a) ask for an integer and output whether the entered number is valid or net.
b) ask for two floats and outputs the largest of the inputs.
c) ask for an integer and, if the number is ***** by two, dividers it by two, otherwise multiplies it by three and output the result. here, the modulo operator % is useful.
d) ask for three integers and output whether any of them are equal.**Use only on if-else-statement.
The output has to be as follows: Give a integer: 12
The number you entered does not equal zero
Give two floats: 13.4 20
20.000000 is the largest
Give an integer: 14
Result is: 7
Give three integers: 1 13 1
Some numbers are equal