exercises

Dependencies:   mbed

cook.cpp

Committer:
Jamess
Date:
2015-08-28
Revision:
0:ff7b10a0e08f

File content as of revision 0:ff7b10a0e08f:

#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);
    
        }
    }