Q: Write a program that will determine if a number is even. The program should ask for a number, say X and printout whether "X is even" or " X is not even". This program must use a method with the signature "public static boolean isEven(int i)".
hell04
0
Newbie Poster
Recommended Answers
Jump to PostQ: Write a program that will determine if a number is even. The program should ask for a number, say X and printout whether "X is even" or " X is not even". This program must use a method with the signature "public static boolean isEven(int i)".
OK, I wrote …
Jump to PostHi
I get the feeling that you are very new at programming Java and feel totally lost?
I will not give you the code to this problem because then you do not learn anything. But I will give you some clues of what to think about.First make a …
All 6 Replies
VernonDozier
2,218
Posting Expert
Featured Poster
BestJewSinceJC
700
Posting Maven
hell04
0
Newbie Poster
sneaker
25
Junior Poster in Training
Team Colleague
VernonDozier
commented:
Good first post.
+21
KirkPatrick
commented:
Helpful and a nice attitude about helping. Nice job bud
+1
VernonDozier
2,218
Posting Expert
Featured Poster
hell04
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.