• + 0 comments

    I put it all in one line. That way I wouldn't need to use extra variables. This is in C#.

    Console.WriteLine(Math.Round((meal_cost*(tip_percent/100f))+(meal_cost*(tax_percent/100f))+meal_cost));