using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace hello_world
{
class Program
{
static void Main(string[] args)
{
for (int i = 0; i < 10; i++)
{
Console.WriteLine("Hello World!");
}
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace hello_world
{
class Program
{
static void Main(string[] args)
{
int count = 0;
for (int i = 0; i < 5; i++)
{
count++;
Console.WriteLine("줄넘기를 {0}회 했습니다.", count);
}
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace hello_world
{
class Program
{
static void Main(string[] args)
{
string input = Console.ReadLine();
char[] input_char = input.ToArray();
int count = 0;
Console.WriteLine();
foreach(char c in input_char) //입력한 글자 수 만큼 반복
{
Console.Write(input);
count++;
Console.WriteLine(": {0}", count);
}
}
}
}