public void BuyLemons(Player player, Inventory inventory) { Console.WriteLine("\nHow many lemons would you like to buy? \n10) for 96ยข \n30) for $2.39 \n75) for $4.43?"); amountToBuy = Console.ReadLine(); if (int.Parse(amountToBuy) == 10) { Console.WriteLine("\nYour current balance is " + "$" + player.wallet.SubtractToWallet(Convert.ToDecimal(0.96))); inventory.BuyLemonsMath(amountToBuy); PromptToBuy(player, inventory); } else if (int.Parse(amountToBuy) == 30) { Console.WriteLine("\nYour current balance is " + "$" + player.wallet.SubtractToWallet(Convert.ToDecimal(2.39))); inventory.BuyLemonsMath(amountToBuy); PromptToBuy(player, inventory); } else if (int.Parse(amountToBuy) == 75) { Console.WriteLine("\nYour current balance is " + "$" + player.wallet.SubtractToWallet(Convert.ToDecimal(4.43))); inventory.BuyLemonsMath(amountToBuy); PromptToBuy(player, inventory); } else { Console.WriteLine("Invalid Entry Try Again."); } }