|
("2421_code --->");
for(j=i;j>=1;--j) //2421코드 값 출력
{
m=array[j];
code_2421(m);
putchar(' ');
}
putchar('\n');
}
void binary(int m){ //십진수를 4자리 2진수로 바꾸는 함수
int digit=4,mark=0x8; //mark는 이진수1000을 말한다
while(--digit>=0){
printf("%d",((m&mark)>>digit));
|
- 페이지 4페이지
- 가격 1,400원
- 등록일 2007.06.14
- 파일종류 한글(hwp)
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
{
for(j=0;j<3;j++)
{
printf("%6d",B[i][j]);
}printf("\n");
} // B행렬 출력
printf("\n"); //개행 문자
printf(" A + B\n\n");
for(i=0;i<3;i++)
{
for(j=0;j<3;j++)
{
printf("%6d",C[i][j]);
}printf("\n");
} //A+B 행렬 출력
printf("\n"); //개행 문자
printf(" A * B\n\n");
for(i=0;i
|
- 페이지 3페이지
- 가격 800원
- 등록일 2006.12.11
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
출력 :");
for(i=count; count>=0; count--)
{
printf("%c",str[count]);
}
printf("\n");
return 0;
}
|
- 페이지 1페이지
- 가격 600원
- 등록일 2006.12.10
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
c;
int LOOP=START;
int OtherPlayer;
if(Player == PLAYER1) {
OtherPlayer = PLAYER2;
} else {
OtherPlayer = PLAYER1;
}
while(LOOP!=END){
c = getch();
switch(c)
{
case RIGHT:
x=x+1;
if(x >= MAPSIZE) x=x-1;
gotoxy(x,y);
break;
case LEFT:
x=x-1;
if(x < 0 ) x=x+1;
gotoxy(x,y);
break;
|
- 페이지 14페이지
- 가격 2,000원
- 등록일 2006.12.13
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
c",&input);
if((input >= 'a') && (input <= 'z'));
printf("\n입력하신 문자 :%c 는 소문자 입니다.",input);
else if((input >= 'A') && (input <= 'Z'))
printf("\n입력하신 문자 :%c 는 대문자 입니다.",input);
else
prinf("잘못 입력하셨습니다.");
}
<사칙 연산 계산기 프
|
- 페이지 12페이지
- 가격 2,000원
- 등록일 2006.01.05
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
= %d/%d\n",a,b,c,d,num1,num2);
printf("%d/%d * %d/%d = %d/%d\n",a,b,c,d,num3,num4);
return 0;
}
|
- 페이지 1페이지
- 가격 800원
- 등록일 2006.12.11
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
%5d: 말뚝 %c에서 말뚝 %c로 원반 %d를 이동\n",
cnt, from, to, n);
}
else
{
moveHanoi(from, to, temp, n-1);
++cnt;
printf("%5d: 말뚝 %c에서 말뚝 %c로 원반 %d를 이동\n",
cnt, from, to, n);
moveHanoi(temp, from, to, n-1);
}
}
|
- 페이지 2페이지
- 가격 800원
- 등록일 2006.12.11
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
: '=');
printf("(ASCII(%c) = %3d)\n", s2[i],s2[i]);
}while(s1[i] == s2[i] && s1[i] && s2[i++]);
}
|
- 페이지 1페이지
- 가격 800원
- 등록일 2006.12.12
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
<= character && character <= 'Z')
{
num_eachchar[character - 'A']++;
}
}
for(int j = 0; j < 26; j++)
{
if ( num_eachchar[j] != 0)
{
printf("%c 는 %d 번 사용 되었습니다.\n" , 'A' + j , num_eachchar[j] );
}
}
}
<결과 화면> 1. 내용
2. 구현 방식
3. 소스 코드
4. 결과
|
- 페이지 3페이지
- 가격 800원
- 등록일 2006.06.26
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
void main(void)
{
int c, i, sum=0;
char data[32];
int *num;
printf("2진수를 입력하시오 :");
scanf("%s", data);
//입력한 문자의 갯수를 카운트
c = 0;
while(1){
if(data[c] != '\0') c++;
else break;
}
printf("입력한 2진수의 갯수 = %d\n", c);
//입력된 2진
|
- 페이지 1페이지
- 가격 800원
- 등록일 2006.09.19
- 파일종류 텍스트(txt)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|