Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

import java.io.*;
class addoreven
{
public static void main(String arg[])throws IOException 
{
int n;
DataInputStream in=new DataInputStream(System.in);
System.out.println("Enter the value of n=");
n=Integer.parseInt(in.readLine());
if(n%2==0)
{
System.out.println("n is even");
}
else
{
System.out.println("n is odd");
}
}
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors