BlueJ Programs for ICSE and ISC
BlueJ Programs
Home
Programs
Data Types
TAKE A NUMBER FROM USER AND CHECK IF ITS EVEN OR ODD
class EvenOdd
// By Steve
{
public static void main(int a)
{
if(a%2==0)
System.out.println("Even");
else
System.out.println("Odd");
}
}
Input: 22435
Input:77654
1 comment:
Mukhraj Singh
January 18, 2013 at 9:19 PM
Thanks you sooo much for ur help..
Reply
Delete
Replies
Reply
Add comment
Load more...
Home
Subscribe to:
Posts (Atom)
Thanks you sooo much for ur help..
ReplyDelete