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

 

norm.krumpe@muohio.edu > cakeCount
prev  |  next  |  chance

Connie's cake recipe requires 2 eggs, 3 cups of flour, and 1 cup of milk. Determine how many cakes Connie can make with the given ingredients.


cakeCount(2, 3, 1) → 1
cakeCount(2, 5, 1) → 1
cakeCount(3, 4, 15000) → 1

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

int cakeCount(int eggs, int flour, int milk) { }

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