More actions
imported>kimys1324 No edit summary |
imported>kimys1324 No edit summary |
||
| Line 54: | Line 54: | ||
==== 오상준 ==== | ==== 오상준 ==== | ||
상준이 잘 다녀와 | |||
우쭈쭈쭈 | |||
궁디팡팡 | |||
착하다착하다 궁디팡팡팡 | |||
==== 이승열 ==== | ==== 이승열 ==== | ||
Revision as of 09:58, 6 April 2011
4월 6일
공부할 것
- Type Conversion
- Type Casting
- Control Structures
- Conditional Branch
- if elseif if
- switch case
- Loop
- for
- while
- do while
- Infinite loop
후기
김연석
- 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;
오상준
상준이 잘 다녀와 우쭈쭈쭈 궁디팡팡 착하다착하다 궁디팡팡팡
이승열
- 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;
}
한광운
감히 창설따위로 새싹을 안오다니 다음부터 너에게 과자와 음료수따위는 없다. 두번이나빠지다니.. 광운이실망이야 -새싹 선생님-