mealcode = 1;
while (mealcode == 1)
cost = 1.75;

Think very carefully about what this code is doing.