[ create a new paste ] login | about

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

C, pasted on Jan 11:
1
2
3
4
5
6
7
8
9
10
#include<stdio.h>

int main(void)
{

printf("%d\n",20/7);
printf("%f\n",20.0/7.0);

return 0;
}


Output:
1
2
2
2.857143


Create a new paste based on this one


Comments: