251016
/*
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("Hello world!\n");
return 0;
}
*/
/*
#include <stdio.h>
int main()
{
printf("Hello,\nWorld!");
return 0;
}
*/
/*
#include <stdio.h>
int main()
{
printf("\"c:\\test\"");
return 0;
}*/
/**
; 세미콜론
자료형 ( 데이터의 종류 )
선언 입출력
정수 int %d, %o, %x ...
실수 float %f
문자 char %c
(캐릭터 or 차)
*/
/*
컴퓨터 11111010101010001010 -> 이진수
인간 1540 -> 십진수
decimal
인간(십진수) 컴퓨터(이진수)
0 0
1 1
2 10
3 11
4 100
5 101
6 110
... ...
*/
// 문자 변수 c 선언, 변수c에 't'를 대입하고, 변수c의 값 출력하기
/*
#include <stdio.h>
int main()
{
int a; // 이름이 a이고, 정수를 담을수 있는 변수 만들어 -> 정수 변수 a 선언
float b; // 이름이 b이고, 실수를 담을수 있는 변수 만들어 -> 실수 변수 b 선언
char c;
a = 5; // a변수에 5를 대입
b = 3.14;
c = 't';
// printf("a 변수의 값은 ");
// printf("%d",a);
// printf("입니다.\n");
printf("a 변수의 값은 %d입니다.",a);
printf("b 변수의 값은 %f입니다.",b);
printf("c 변수의 값은 %c입니다.",c);
return 0;
}
*/
/*
#include <stdio.h>
int main()
{
int a;
scanf("%d",&a);
printf("a의 값은 %d 입니다.",a);
return 0;
*/
/*
#include <stdio.h>
int main()
{
int a;
scanf("%d",&a);
printf("%d",a);
return 0;
}
*/
/*
#include <stdio.h>
int main()
{
char b;
scanf("%c",&b);
printf("%c",b);
return 0;
}
*/
/*
#include <stdio.h>
int main()
{
float c;
scanf("%f",&c);
printf("%f",c);
return 0;
}
*/




