Skip to content

Instantly share code, notes, and snippets.

@taraijpn
Last active April 13, 2017 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taraijpn/561b8793575fa89f14aaa8e612f37137 to your computer and use it in GitHub Desktop.
Save taraijpn/561b8793575fa89f14aaa8e612f37137 to your computer and use it in GitHub Desktop.
int ++ てすと。
#include<stdio.h>
int main()
{
int n = 0;
double x = 0.0;
for (n = 0; n <= 30; n++) {
x = 0.1 * n;
printf("%.16e %d\n", x, n);
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment