#include #include int main(void) { float num; scanf("%f",&num); // Computes the sine and cosine of the number num read in. printf("input: \t\t\t\t %f \n",num); printf("sine: \t\t\t\t %f \n",sinf(num)); printf("cosine: \t\t\t %f \n",cosf(num)); // Determines if the number num is positive. if(num<0) { printf("Result is a complex number.\n"); return 1; } printf("square root: \t\t\t %f \n",sqrt(num)); return 0; }