Code Snippets C

#include
#include
int main(void)
{
double val = -4.0;
do {
printf("Arc cosine of %f is %f.\n", val, acos(val));
val += 0.1;
} while(val<=2.0);
return 0;
}