//int money = 100;
//int xdd = 3;
//int pkq = 5;
//int hmbb = 8;
//string[] buy = new string[5];
//int[] buynum = new int[5];
//int count = 0;
//while (true)
//{
// Console.WriteLine("欢迎光临 你需要买点什么呢");
// Console.WriteLine("1,小叮当 2.皮卡丘 3.海绵宝宝");
// string input = Console.ReadLine();
// Console.Write("数量:");
// int num = int.Parse(Console.ReadLine());
// if (count >= 5)
// {
// Console.WriteLine("背包已经满了装不下了");
// }
// else if (money <= 0)
// {
// Console.WriteLine("您的钱不够,{0}元,请及时充值补交",money);
// }
// else
// {
// switch (input)
// {
// case "1":
//
日常学习代码记录 简易商店背包
最新推荐文章于 2021-07-01 18:54:15 发布