/*Computes the sine, cosine and sq.root of a number given to standard in.*/ #include #include int main(void) { float x; //declare input as float scanf("%f",&x); //Reads x /*Displays the sine,cosine & Sq.root of x*/ printf("sine:\t\t %12.6f \n",sinf(x)); printf("cosine:\t\t %12.6f \n", cosf(x)); printf("square root:\t %12.6f \n",sqrtf(x)); return 0; }