U E D R , A S I H C RSS

새싹교실/2011/Pixar/4월


1. 4 6

  • 면 따 ~ -
    • -

1.1.


  • Type Conversion
  • Type Casting
  • Control Structures
    • Conditional Branch
      • if else
      • switch case
    • Loop
      • for
      • while
      • do while
      • Infinite loop

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를 빨리배 ㅎㅎㅎ 머리 는데 면 더 면......... 빨리빨리배 무말 B)

1.2.2.





- -

1.2.3.

  • ! if for . 면 마 보는등 . 많 .... . . ..

1.2.4.


.
..
- -
  • ?;; -
    • -

1.2.5.

  1. 문, 복문 는데… if else, for만 ~ while 문 Switch case를
  2. . 모르는데 .
    • -

1.3.



  1. *
    **
    ***
    

  2. ***
    **
    *
    

  3.   *
     ***
    *****
    

  4.   *
     ***
    *****
     ***
      *
    

2. 4 13

2.1.



  • Conditional Branch
    • switch case
  • Loop
    • while
    • do while
    • Infinite loop

2.2.1.

  • C는 ........ n*n 는데 while문 switch 배 C 는데 배 ~~~~~~~~~~~~~~~~~~

2.2.2.

는데 몰랐
if else, swithch, while, for 등 몰
....


>< ★

2.2.3.

. while if for 등등 많.
면 배 .....
. .!~

SSANG_

3. 4 27

3.1.

3.2.1.

  • . . 를 배는데 는데 - . . 더많 . ......

3.2.2.

.
를 배 는데
는데 .

3.2.3.

local,global,static등, 복문 만들, .
는데 . 복 . 못봐

3.2.4.

를 배.
미리
는 듣는 는데 모르.
는 몰랏. .


Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:29:42
Processing time 0.0271 sec