|
canf("%d",&data2);
result = data1/data2;
printf("\n%d / %d = %d", data1,data2,result);
}
break;
case 'q':
return 0;
break;
default :
printf("\n바보냐?틀렸네!.");//틀린 답을 했을때 나옵니다.
}
scanf("%c",&oper);
}
}
|
- 페이지 2페이지
- 가격 1,700원
- 등록일 2007.03.26
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
#include <stdio.h>
//해더파일 선언
int main(void)
{
float a,b,d;
int e;
char c;
while(1) //무한반복
{
printf("\n");
printf("\n");
printf("///////////////////////////////////////////////////////\n");
printf("// 간단한 연산을 수행하는 프로그램입니다.
|
- 페이지 2페이지
- 가격 800원
- 등록일 2009.01.02
- 파일종류 텍스트(txt)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
# include<stdio.h>
int main(void)
{
int a,b; // 변수 선언
char o; // 문자 선언
while(1)
{
printf ("wonjin's calculator\n");
scanf ("%d%c%d",&a,&o,&b);
|
- 페이지 1페이지
- 가격 1,000원
- 등록일 2007.12.17
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
c);
p++;
}
else if (*p == \'%\')
{
c = pop_s();
push_s((double)((int)pop_s() % (int)c)); //modulus 연산자는 정수연산밖에 안되기때문에 형변환 하여 수식//
p++;
}
else if (*p == \'/\')
{
c = pop_s();
push_s(pop_s() / c);
p++;
}
else
p++;
}
return pop_s();
} 1. 계산기 알고리즘
2.
|
- 페이지 9페이지
- 가격 1,000원
- 등록일 2010.04.07
- 파일종류 한글(hwp)
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
ur) == L) {
while(priority(peer().what,cur) == L)
post[p_posi++] = pop();
if(priority(peer().what,cur) == E)
post[p_posi++] = pop();
added(in[i_posi]);
}
else return -1;
}
post[p_posi].what = END;
post[p_posi].value= 0;
return 0;
}
//priority
int priority(int left,int right)
{
int table[8][8] = {
{N
|
- 페이지 12페이지
- 가격 2,300원
- 등록일 2002.09.22
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|