U E D R , A S I H C RSS

새싹교실/2011/學高/6회차




1.




  ***** *****
  ****   ****
  ***     ***
  **       **
  *         *

  • . 힌트

2. 2011 4 11


2.1. :

2.1.1. (fact)

  • relational operator
  • logical operator
  • automatic type conversion, type casting
  • if, ternary conditional operator, switch, dangling-else problem
  • while, do-while, for: .

2.1.2. (feeling/finds)

  • 2
  • .

2.2. :


2.2.1. (fact)

ㅜㅜ
,, ..
( ㅜㅜ )

2.2.2. (feeling/finds)

.

2.2.3.

#include <stdio.h>

int main(){

int i, j;
for(i=1;i<=5;i++){
for(j=5;j>=i;j--)
printf("*");
for(j=1;2*i-1>=j;j++)
printf(" ");
for(j=5;j>=i;j--)
printf("*");
printf("\n");
}
return 0;
}
// ..ㅋㅋ


2.3. :

2.3.1. (fact)


2.3.2. (feeling/finds)


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