|
tdio.h>
int main(void)
{
floatresistor1=1000.0, resistor2=500.0,equ_resistance;
equ_resistance=1.0/(1.0/resistor1+1.0/resistor2);
printf(\"Equivalent resistance is %f \\n\",equ_resistance);
return(1);
}
|
- 페이지 2페이지
- 가격 800원
- 등록일 2006.04.17
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
C);
printf(\"Output will be %d\\n\",Z);
printf(\"Do you wish to continue (y/n) >>\");
fflush(stdin);
/* this will flush the keyboard buffer */
/* as there may be characters still in it */
ch=getchar();
} while (tolower(ch)==\'y\');
return(0);
}
▤ 프로그램 6.52
/*Program to determine the gain o
|
- 페이지 24페이지
- 가격 3,000원
- 등록일 2006.04.17
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
b, c;
a = -1;
b = 2;
c = a >> b;
printf(%d \\n\", c);
}
프로그램 3.12 /* 증감 연산자 사용 */
#include <stdio.h>
main()
{int i, j, ip, jp, is, js;
i = 5;
ip = 10 + ++i; /* i를 먼저 증가시킨후 이 값에 10를 더하는 문장 */
j = 10;
jp = 10 + --j; /* j를 먼저 감소시킨후 이
|
- 페이지 5페이지
- 가격 1,000원
- 등록일 2006.04.17
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
프로그램 4.21
/* Program to ASCII code to character */
#include <stdio.h>
intmain(void)
{
int value;
puts(\"Enter ASCII code (greater than 33)>\");
scanf(\"%d\",&value);
printf(\"Code = %d, character = %c\\n\",value,value);
return(0);
}
▤ 프로그램 4.22
/* Program to determine equivalent res
|
- 페이지 12페이지
- 가격 2,000원
- 등록일 2006.04.17
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
c\': rho=RHO_COPPER; break;
case \'a\': rho=RHO_AL; break;
case \'s\': rho=RHO_SILVER; break;
case \'m\': rho=RHO_MAGANESE;break;
default: puts(\"Invalid option\");exit(0); break;
}
resistance= rho*length/area;
printf(\"Resistance of conductor is %.3e ohm\",resistance);
return(0);
}
▤ 프로그램 5.13
|
- 페이지 12페이지
- 가격 2,000원
- 등록일 2006.04.17
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|