/* comments in C begin like this and end with */ #include /* atof function */ #include /* sine function */ #include /* printf function */ int main (int argc, char* argv[]) { double r, s; /* declare variables */ r = atof(argv[1]); /* convert the text argv[1] to double */ s = sin(r); printf("Hello, World! sin(%g)=%g\n", r, s); return 0; /* success execution of the program */ }