文書番号: 401957
最終更新日: 2004/03/30
#include <math.h> #include <stdio.h> #define PI 3.141592653589793 void main( void ) { double theta, t1, t2; int i; for( i = -9; i <= 36; i++ ){ t1 = cos( theta = (double)i * PI / 18.0 ); t2 = tan( 22.0 * PI / 180.0 ); printf("\ni = %3d theta = %6.3lf t1 = %6.3lf t2 = %6.3lf",i,theta,t1,t2); } }
Keywords: KBBUG VC10 VC15 KB401957
Technology: kbAudDeveloper kbvc150 kbVCsearch