2018-11-23 매직 오락실 숙제5

951 단어
       Console.WriteLine("       ");
        int people = Convert.ToInt32(Console .ReadLine ());
        int n = 1;
        for(n=1;n<=people;n++)
        {
            Console.WriteLine ("    {0}     :",n);
            
            Console.Write("       《    》:");
            int a = Convert.ToInt32(Console.ReadLine());
            Console.Write("       :");
            int b = Convert.ToInt32(Console.ReadLine());
            if (b<=10)
            {
                
                Console.WriteLine("           ");
                   continue;

            }
            Console.Write("       :");
            int c= Convert.ToInt32(Console.ReadLine());
            Console.WriteLine("       :");
            Console.WriteLine("    :{0}"+"    "+"  :{1}"+"    "+"  :{2}",a,b,c);
        }



        Console.ReadKey();

좋은 웹페이지 즐겨찾기