Skip to content

Instantly share code, notes, and snippets.

@LightningStalker
Created August 25, 2017 22:30
Show Gist options
  • Select an option

  • Save LightningStalker/6851bce88725f29aca7bed423b7622e7 to your computer and use it in GitHub Desktop.

Select an option

Save LightningStalker/6851bce88725f29aca7bed423b7622e7 to your computer and use it in GitHub Desktop.
Not sure what I was doing with this one, but here it is
#include <stdio.h>
int main (int argc, char **argv)
{
float i = 63.2, j = 63.2;
int t;
for (t = 0; t < 5; t++)
{
printf("%0.1f", j);
getchar();
i *= .368;
j *= i / 100 + 1;
}
return (0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment