This commit is contained in:
2024-08-18 16:21:50 +02:00
parent 3aeb65cd30
commit 60a9727112

18
main.go
View File

@@ -35,7 +35,7 @@ const (
cabbage = 25 cabbage = 25
sugar = 387 sugar = 387
sunflowerOil = 828 sunflowerOil = 828
tomatoPassata = 25 tomatoPassata = 21
tomatoPaste = 82 tomatoPaste = 82
hardCheese = 330 hardCheese = 330
porkLean = 143 porkLean = 143
@@ -55,15 +55,21 @@ const (
cherry = 63 cherry = 63
lentil = 116 lentil = 116
cream = 232 cream = 232
cornstarch = 346
zucchini = 21
chocolate = 516
mistakemeat = 230
haluskymix = 355
) )
// tomato 96
// olives 50
func main() { func main() {
var ingredients = []ingredient{ var ingredients = []ingredient{
{500, potato}, {253, postCheese},
{150, lentil}, {400, haluskymix},
{125, cream}, {400, water},
{30, flour}, {50, egg},
{1500, water},
} }
var totalWeight int64 var totalWeight int64