# include # include # include using namespace std; int main ( ) { int i; double pi = 3.14159265, x, y1, y2; for ( i = 0; i <= 100; i++ ) { x = ( double ) ( i ) * 4.0 * pi / 100.0; y1 = sin ( x ); y2 = cos ( x ); cout << " " << x << " " << y1 << " " << y2 << "\n"; } return 0; }