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

 

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

A pet adoption center takes in at least 100 dogs and at most 500 dogs. If they take in more than 500 dogs, display "Too much puppy." If they adopt less than 100 dogs, display "Not enough puppy." Otherwise, display the text "Just enough pups."


dogsInTheHouse(2141) → "Too much puppy."
dogsInTheHouse(11) → "Not enough puppy."
dogsInTheHouse(244) → "Just enough pups."

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

public String dogsInTheHouse(int dog) }

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