The programmer comes back home with 2 eggs.
Here's how he is thinking (if I have errors in my code, please send them by e-mail
include("superMarketFunctions.php");
function goToByEggs($eggs, $what) {
if(exists($what) {
$eggs = 2;
}
$result = buy($eggs);
if($result == 1) {
goBackHome();
} else {
runbackUpPlan();
goBackHome();
}
return 1;
}
goToByEggs(10, "Salami");





