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

 

abraskin@mbusd.org 2016_student_creations_01 > numberCheck
prev  |  next  |  chance

Create a method that, when given two ints, can return whether they are both multiples of two or if either is a multiple of 16.
Examples:
2, 4: "yes"
3,16:"yes"
5,17:"no"


numberCheck(2, 4) → "yes"
numberCheck(5, 17) → "no"
numberCheck(3, 16) → "yes"

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

public String numberCheck(int x, int y) }

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: 100

Copyright Nick Parlante 2017 - privacy