3주차(0915)


3주차(0915)

<실습문제 2-1> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 using System; class Program { static void Main(string[] args) { int a1 = 100; int b1 = 200; a1++; --b1; Console.WriteLine("a1++은" + a1 + "입니다."); Console.WriteLine("--b1은" + b1 + "입니다."); Console.WriteLine("a1과 b1의 합은" + (a1 + b1) + "입니다."); } } Colored by Color Scripter cs a1++은101입니다 --b1은199입니다. a1과 b1의 합은300입니다. <실습문제 2-1(2)> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 using System; class Program { static void Main(string[] args) { int a1 = 100; int b1 = 200;...



원문링크 : 3주차(0915)