#include<iostream> #include<cmath> int main() { printf("sin30 = %f\nsin45 = %f\nsin60 = %f\nsin90 = %f\n",sin(30.0), sin(45.0), sin(60.0), sin(90.0)); return 0; }
#include <cstdio> #include <cmath> using namespace std; int main () { float p = sin(1.234 * M_PI); return 0; }