![](/media/cache/profiles/c3d4543d921d3fc90cabc2c864c68276.jpg.50x50_q85.jpg)
exercises
Diff: cook.cpp
- Revision:
- 0:ff7b10a0e08f
diff -r 000000000000 -r ff7b10a0e08f cook.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cook.cpp Fri Aug 28 18:45:26 2015 +0000 @@ -0,0 +1,23 @@ +#include "cook.h" + +uint32_t cook::getHowWellCooks(void){ + + return howWellCooks; + + } + +void cook::setHowWellCooks(uint32_t newSkill){ + + howWellCooks = newSkill; + + } + +void cook::makeBanana(Serial* serialPort, fruits* something[]){ + + for(uint32_t i = 0;i<10;i++){ + + serialPort->printf("the number of bananas %d",something[i]->getWeight()); + wait(0.1); + + } + } \ No newline at end of file