1.1. 공부 것 ¶
것
- Type Conversion
- Type Casting
- Control Structures
- Conditional Branch
- if else
- switch case
- if else
- Loop
- for
- while
- do while
- Infinite loop
- for
- Conditional Branch
1.1.1. 김 ¶
#include <stdio.h>
#include <assert.h>
int main()
{
char grade;
int score;
scanf("%d", &score) ;
if((score>=90) && (score<=100))
{
grade='a';
} else if((score>=80) && (score<90))
{
grade='b';
} else if((score>=70) && (score<80))
{
grade='c';
} else if((score>=60) && (score<70))
{
grade='d' ;
} else
{
grade='f';
}
printf("%c \n", grade);
//assert(grade=='c');
return 0;
1.1.2. ¶
#include <stdio.h>
#include <assert.h>
int main()
{
char grade;
int score;
scanf("%d", &score);
if((100>=score) && (score>=90)){
grade='a';
}
else if((90>score) && (score>=80)){
grade='b';
}
else if((80>score) && (score>=70)){
grade='c';
}
else if((70>score) && (score>=0)){
grade='d';
}
else{grade='f';}
printf("%c" , grade);
//assert(grade=='c');
return 0;
}
1.2.1. 김 ¶
- ㅠㅠㅠ기를 배다. 감 다. 만 기는 려다. ㅠㅠ 만 다. 1, 2, 3 개 대로 는, 5개 다는는 그럭럭 만는데 ............ 무려. 랑 둘배 과같배. C를 빨리빨리 배고 매매 로 1달만 C를 로 다루고 낰ㅋㅋㅋㅋㅋㅋ 따리고 빨리배고 ㅎㅎㅎ 가 머리가 나빠 많 리고 늦게늦게 는데 감 낰ㅋㅋㅋ 만면 더 래 되까 나 래는 나만 드다면.........ㅋㅋㅋㅋㅋㅋㅋㅋ 빨리빨리배고 ㅋㅋㅋ 가 링글먹고대 는 대 무말 다
.png)
2.2.1. 김 ¶
- 나 를 말말말말말다 ㅠㅠ C는 려........ 구구단랑 n*n개 는 는데 그다 남기는 되 ㅠㅠ while문구 switch 배고 C 다검는데 배는 되게 같 ㅋㅎㅋㅎ 나 내 많배면 겠~~~~~~~~~~~~~~~~~~ 김
2.2.2. 광 ¶
늘 배는데 몰랐던 배
if else, swithch, while, for 몰라 답답던 게되 무
그리고 기 를 경.... ㅠㅠㅠ
로그래밍로 기 들단 깨달
if else, swithch, while, for 몰라 답답던 게되 무
그리고 기 를 경.... ㅠㅠㅠ
로그래밍로 기 들단 깨달
광>< ★
3.2.1. 김 ¶
- 나 끝났다고 늦게고 늘 무 곤 못고 ㅠㅠ. 몬드 가는데 나 . 늘 를 배는데 공부놨던게는데 그때매 늘 방던같 ㅠ-ㅠ . 변 변 그게 가 되 나. 더많배고 나 ㅋㅋㅋ . 나 로 그 떻게 감..ㅠ.ㅠ.ㅠ.ㅠ.ㅠ










