Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

새싹교실/2011/Pixar/4월: Difference between revisions

From ZeroWiki
imported>duf0502
No edit summary
imported>kimys1324
No edit summary
Line 96: Line 96:
}
}
==== 한광운 ====
==== 한광운 ====
감히 창설따위로 새싹을 안오다니
다음부터 너에게 과자와 음료수따위는 없다.
두번이나빠지다니.. 광운이실망이야
-새싹 선생님-
==== 김수경 ====
==== 김수경 ====
----
----
[[새싹교실/2011/Pixar]]
[[새싹교실/2011/Pixar]]



Revision as of 09:53, 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

후기

김연석

  1. include <stdio.h>
  2. 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. include <stdio.h>
  2. 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; }

한광운

감히 창설따위로 새싹을 안오다니 다음부터 너에게 과자와 음료수따위는 없다. 두번이나빠지다니.. 광운이실망이야 -새싹 선생님-

김수경


새싹교실/2011/Pixar