// A formatted trigonometric table
#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;

int main()
{
  cout << setprecision(5) << fixed;

  for(int deg=0; deg<=180; deg+=10)
  {
    double x = M_PI*deg/180.;
    cout << setw(3)  << deg
         << setw(10) << sin(x)
         << setw(10) << cos(x) << endl;
  }

 return 0;
}
