Advertisement
vaulttech

HelloWorld_fancy

Nov 16th, 2014
579
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.67 KB | None | 0 0
  1. // I don't know where this code is from. I tried to find the source and
  2. // didn't find. If you know where it is from, please send me the link =)
  3. #‎include‬ <stdio.h>
  4. #include <math.h>
  5.  
  6. int main()
  7. {
  8.     long double x;
  9.     for (x=1; x<14; ++x)
  10.     printf("%c",(int) (long double) (43189*pow(x,12)/479001600
  11.             - 9751* pow(x,11)/1267200
  12.             + 2550839*pow(x,10)/8709120
  13.             - 9518329*pow(x,9)/1451520
  14.             + 1391746459*pow(x,8)/14515200
  15.             - 332152549*pow(x,7)/345600
  16.             + 58724195669*pow(x,6)/8709120
  17.             - 2294231779*pow(x,5)/69120
  18.             + 1231032990581*pow(x,4)/10886400
  19.             - 468238830697*pow(x,3)/1814400
  20.             + 123386850029*x*x/332640
  21.             - 147341797*x/495+99109 + 0.5 )
  22.         );
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement