public void BuyPaperCups(Player Player, Inventory Inventory) { Console.WriteLine("You can either buy '25' paper cups for 0.82, '50' paper cups for 1.60, or '100' paper cups for 2.83. Or if you don't need any and or already have enough, you can enter 'menu' to go back to the Main Menu."); string amountWanted = Console.ReadLine(); switch (amountWanted) { case "25": paperCupsBought = 25; break; case "50": paperCupsBought = 50; break; case "100": paperCupsBought = 100; break; case "menu": ExploreStore(Player, Inventory); return; default: Console.WriteLine("You can only purchase '25', '50', or '100' paper cups at a time. Please try again."); BuyPaperCups(Player, Inventory); return; } if (paperCupsBought == 25) { paperCupCost = priceOfTwentyFivePaperCups; } else if (paperCupsBought == 50) { paperCupCost = priceOfFiftyPaperCups; } else if (paperCupsBought == 100) { paperCupCost = priceOfOneHundredPaperCups; } if (Player.money >= paperCupCost) { Console.WriteLine("You have successfully bought" + ' ' + paperCupsBought + ' ' + "paper cups."); SeeTotalCostForIngredients(paperCupCost); Player.money -= paperCupCost; Console.WriteLine("You have" + ' ' + "$" + Player.money + "left."); Inventory.AddPaperCupsFromStore(paperCupsBought); } else if (Player.money < paperCupCost) { Console.WriteLine("You don't have enought money to buy that amount of paper cups. Please choose a lower amount, or come back with more money. If you want to buy less paper cups, enter 'buy again' or if you don't have enough money and can't buy anymore and want to go back to the Main Menu, enter 'menu'."); string answer = Console.ReadLine(); switch (answer) { case "buy again": BuyPaperCups(Player, Inventory); break; case "menu": ExploreStore(Player, Inventory); break; default: ExploreStore(Player, Inventory); break; } } BuyPaperCups(Player, Inventory); }