[ create a new paste ] login | about

Link: http://codepad.org/NAUwzrRt    [ raw code | output | fork ]

C, pasted on May 22:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include<stdio.h>

main()
{
double a=192.0;
double b=0.08333333333;
int c=1;


for(;(c<49);c++)
{
	a=(a-(b*c));
}

printf("%d\n",a);
}


Output:
1
2
3
275846

Exited: ExitFailure 7


Create a new paste based on this one


Comments: