Get Off-Campus Placement Jobs Info !!!
Programs asked in Mettl Coding Round
Click To Practce List of Programs asked in Nagarro !!!

Program Discussion :: Basics

Home > Programs > Basics

2 / 248

Write a program to find the given number is even or odd.

INPUT: 14
OUTPUT: Even


INPUT: 13
OUTPUT: Odd

Answer:

#include 
using namespace std;
int main()
{
    int n;
    cout > n;
    if ( n % 2 == 0)
        cout 

Asked In :: Wipro Syntel Inc.

Post Your Answer Here:

Language:

Post Your Reply Here:



Language:

Post Your Reply Here:



Language:

Post Your Reply Here:



Language:

Post Your Reply Here: