Color Scripter 사용(텍스트 색상 유지 및 변경, 가장 많이 쓰이는 프로그램임)
C
#include <stdio.h>
int main()
{
printf("Hello World");
return 0;
}
C#
using System;
class HelloWorld {
static void Main() {
Console.WriteLine("Hello World");
}
}
C++
#include <iostream>
int main()
{
std::cout<<"Hello World";
return 0;
}
Python
print ('Hello World')
JAVA
public class Main
{
public static void main(String[] args) {
System.out.println("Hello World");
}
}
JavaScript
print('Hello World');

내 이름 10번 출력
#include <stdio.h>
int main() {
int i;
for(i = 1; i <= 10; i++) {
printf("%d: higurashi\n", i);
}
return 0;
}

'C프로그래밍 > 복습' 카테고리의 다른 글
| C프로그래밍 10주차 복습 과제 (0) | 2026.05.06 |
|---|---|
| C프로그래밍 9주차 복습 과제 (0) | 2026.04.29 |
| C프로그래밍 7주차 복습 과제 (1) | 2026.04.15 |
| C프로그래밍 6주차 복습 과제 (0) | 2026.04.08 |
| C프로그래밍 5주차 복습 과제 (0) | 2026.04.01 |