about | help | code help+videos | done | prefs |
boolean oddSum(int a, int b). Given two integers, return true if their sum is odd, return false if their sum is even. A number is odd if, when you divide it by 2, its remainder is NOT zero, e.g. num % 2 != 0. oddSum(1, 3) → false oddSum(2, 4) → false oddSum(2, 3) → true ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy