ㅁ/*
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("Hello world!\n");
return 0;
}
; 세미콜론 명령의 끝에 무조건 붙이기!
*/
/*
#include<stdio.h>
int main()
{
printf("\"c:\\test\"");
return 0;
}
\ \\
" \"
#include<stdio.h>
int main()
{
printf("special characters\n[\\n,\\\",\\\\] is very important.");
return 0;
}
data 자료
************자료형 ( 자료의 종류)************
선언 출력
정수 int 인트 %d
실수 float 플로트 %f
문자 char 캐릭터 %c
********************************************
#include<stdio.h>
int main()
{
// 정수 변수 a 만들기
//int a;
//정수 변수 a에 10 넣기
//a = 10;
// 정수 변수 a에 들어있는 정수를 출력해
//printf("%d",a);
// 실수 변수 b 만들기
//float b;
// 실수 변수 b에 3.141592 넣기
//b = 3.141592;
// 실수 변수 b에 들어있는 실수 출력해
//printf("%f",b);
// 문자 변수 box 만들고, 't'를 넣고, 출력하기
char box;
char dox;
box = 'm';
dox = 'x';
printf("%c와 %c",box, dox);
return 0;
}
*/