Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * @author Kailey McNeal
- * @version 10-23-14
- * p.299 #7
- */
- import java.util.*;
- public class Seven
- {
- public static void main (String[]args)
- {
- Scanner console=new Scanner(System.in);
- int num=console.nextInt();
- if (num%2==0)
- {
- System.out.println("even");
- }
- else
- {
- System.out.println("odd");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement