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