Skip to content

Instantly share code, notes, and snippets.

@taraijpn taraijpn/doublepp.c
Created Apr 13, 2017

Embed
What would you like to do?
double ++ てすと。
#include<stdio.h>
int main()
{
double n = 0.0;
double x = 0.0;
for (n = 0; n <= 30; n++) {
x = 0.1 * n;
printf("%.16e %.16g\n", x, n);
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.