Choose Category
#include <math.h> #include <stdio.h> int main(void) { double val = -0.7; printf("Cosine of %f is %f.\n", val, cos(val)); return 0; }