U E D R , A S I H C RSS

새싹교실/2012/아무거나


1.


  • : 19:00~21:00
  • : C

2.


2.1. feedback

  • ZeroPage 4F(ThreeFs + Future Action Plan) feedback .
    • Facts, Feelings, Findings, Future Action Plan. , , , , 획.
    • : " 5 .() .() .() .( 획)"
      • ?
  • feedback .
    • ZeroWiki . 하 .
    • . 학 .

  • ZeroWiki MoniWiki Engine Google Chrome Mozila Firefox, Safari Internet Explorer .

3.1. 0회(2012 3 22)

3.1.1.

O
O
O

3.1.2.

. 함.

3.1.3.

  • .()
  • . . . . (형)

3.2. 1회(2012 3 30)


  • 3 30 7-8

O
O

형 학 Visual Studio .


1. 한 f10
2. f11 f10 .()
3. , f5 .
4. f5 shift f5 .



3.4. 2회(2012 4 4)


  • 4 4 7 30 - 9

O
O
O



1
*
**
***
****
***
**
*

  • .

#include <stdio.h>
#include <conio.h>

int main(void)
{
	int a,b,c;
	int d,e,f ;

a=1, c=1, d=0;
scanf("%d", &b);
e=b, f=1;

while (a<b)
{
c=1, d=0;
printf("\n");
   while (d<f)
   {
   printf("*");
   c++, d++;
   }
f++, a++;
}

a=0, c=1, d=0;

while (a<e)
{
c=1, d=0;
printf("\n");
   while (d<b)
   {
   printf("*");
   c++, d++;
   }
a++, b--;
}
_getch();

return 0;
}

#include <stdio.h>
#include<stdio.h>

int main()
{
	int a, b, c;
	scanf("%d",&c);

	for(a=1;a<2*c;a++){
		if(a<=c){
			for(b=1;b<=a;b++)
				printf("*");
			printf("\n");
		}
		else {
			for(b=2*c-a;b>=1;b--)
				printf("*");
			printf("\n");
		}

	}
	return 0;
}








해하
. . ㅋㅋㅋㅋㅋㅋㅋㅎㅎㅎㅎ ()


2회
2회 , 1회 ... . .
while , . for .
.( . 헝헝.)
~. (형)

  • 2

3 (<- scanf )

  *
 ***
*****

  • Hint!
    • * 2 .
    • * .

#include <stdio.h>
int main(void)
{
	int n, a, b, c;
	a=1, b=0, c=0;
	scanf("%d", &n);
while (a<=n) {
        printf("\n");
   while(c<n) {
	printf(" ");
	c++;}
b=0;
   while(b<2*a-1){
	printf("*");
	b++;}
c=a;
a++;
}

getch();
return 0;
}

#include <stdio.h>

#include<stdio.h>

int main(){

	int a, b, n;

	scanf("%d",&n);

	for(a=1;a<=n;a++){
		for(b=n;b>a;b--)
			printf(" ");
		for(b=1;b<=2*a-1;b++)
			printf("*");
		printf("\n");
	}

	
	
	return 0;
}


  • 3

3 (<- scanf )

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

#include <stdio.h>

int main(void)
{
int n, a, b, c, d;
	a=1, b=0, c=0;
	scanf("%d", &n);
	
while (a<=n-1) {
printf("\n");
	
while(c<n) {
	printf(" ");
	c++;
	}
	b=0;
	while(b<2*a-1){
	printf("*");
	b++;
	}
c=a, a++;
}

a=1, b=0, c=0;
d=n;	
while (a<=n) {
printf("\n");
	while(c<a) {
	printf(" ");
	c++;
	}
	while(b<2*d-1){
	printf("*");
	b++;
}
c=0, d--, a++, b=0;
}

getch();
return 0;
}

#include<stdio.h>

int main(){

	int a, b, n;

	scanf("%d",&n);

	for(a=1;a<=2*n-1;a++){
		if(a<=n){
		
		for(b=n;b>a;b--)
			printf(" ");
		for(b=1;b<=2*a-1;b++)
			printf("*");
		printf("\n");
	}
		else{

			for(b=1;b<=a-n;b++)
				printf(" ");
			for(b=1;b<=4*n-2*a-1;b++)
				printf("*");
			printf("\n");
		}
	}
	
	
	return 0;
}



3.5. 3회(2012 4 9)


  • 4 9 3 30 - 5 30

O
O
O




  • (function) (procedure)
    • return , void function

  • 화하 . . ?
...?
123
894
765
. ,함 , . 헐ㅋ. . ↓↓
for 패했! while . F11 Alt+F8 한테 .
휴학하 . 크 ㅠㅠ. ... . . 헐ㅋ. (형)


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