DQ-1
Report Error
Single File Programming Question
IN
Marks : 15 Negative Marks : 0
Odd or Even
Mrs. Anitha , our favorite Math teacher wanted to teach her students to check
whether the given number is odd or even.
Write a program to accept an integer and to check whether the given number is
odd or even using functions and pointers.
Note: Print the text "a is an odd number" and "a is an even number" inside the
function
Function Specification:
void oddoreven(int *a)
This function prints the text "a is an odd number" if the number is odd, else prints
"a is an even number" if the number is even.
F
Input format
The input consists of an integer.
Output format
Refer to the sample input and output for formatting details.
Answers
Answered by
0
Mention the main function of the World Trade Organisation (WTO).
Its main functions include: administering WTO trade agreements, providing a forum for trade negotiations, handling trade disputes, monitoring national trade policies, providing technical assistance and training for developing countries, and ensuring cooperation with other international organisations.
Similar questions