id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

amjadm@miamioh.edu > oddEven
prev  |  next  |  chance

Given a 2 digit num, return true if one of the digits is even, and the other one is odd.


oddEven(10) → true
oddEven(20) → false
oddEven(12) → true

...Save, Compile, Run (ctrl-enter)

public boolean oddEven(int num) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 105

Copyright Nick Parlante 2017 - privacy