Code Snippets C

#include
#include
int main(void)
{
double val = 1.0;
do {
printf("%f %f\n", val, log(val));
val++;
} while (val<20.0);
return 0;
}