Ex09 Curious: Hawaiian Pizza less calories than Margherita?

Benutzeravatar
mmi1991
Computerversteher
Computerversteher
Beiträge: 349
Registriert: 20. Okt 2011 18:46
Wohnort: Hattersheim

Ex09 Curious: Hawaiian Pizza less calories than Margherita?

Beitrag von mmi1991 »

The Margherita pizza has 1104 calories and Hawaiian Pizza only 1024, althrough it should be a Margherita plus ham and pineapples.
Does eating ham and pineapples generate a negative amount of calories? :D

Edit: Or do they put less cheese on the Hawaiian pizza? Then I would not be willing to pay 2 euros more for it :)
Ophasentutor SoSe 2014, WiSe 2015/16
Alle Angaben wie immer ohne Gewähr


Benutzeravatar
mmi1991
Computerversteher
Computerversteher
Beiträge: 349
Registriert: 20. Okt 2011 18:46
Wohnort: Hattersheim

Re: Ex09 Curious: Hawaiian Pizza less calories than Margheri

Beitrag von mmi1991 »

Wow, thanks.
That's cool :D I should ask a nutritionist on how this can be true.
Ophasentutor SoSe 2014, WiSe 2015/16
Alle Angaben wie immer ohne Gewähr

burgi
BASIC-Programmierer
BASIC-Programmierer
Beiträge: 115
Registriert: 15. Apr 2009 18:08
Wohnort: Ludwigshafen

Re: Ex09 Curious: Hawaiian Pizza less calories than Margheri

Beitrag von burgi »

Hi everyone,

does that fact not imply that we cannot "decorate" Pizza Magarita with ham an pineapple to achieve a Hawaiian pizza ?
Thus resulting we have to implement own decorator traits/classes/objects for Hawaiian and Salami Pizza.

Greetings Dominic

imaier
Mausschubser
Mausschubser
Beiträge: 61
Registriert: 21. Okt 2013 21:27

Re: Ex09 Curious: Hawaiian Pizza less calories than Margheri

Beitrag von imaier »

Yes, indeed. There is a hint in the exercise description that you don't have to "reverse engineer" pizza names. Because you can't. In other words, Hawaiian Pizza is not the same as Margherita plus ham'n pineapple. Most likely explanation is that the amount of toppings differ.

Cheers,
Ingo

Antworten

Zurück zu „Archiv“