[ create a new paste ] login | about

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

C++, pasted on Sep 3:
1
2
3
4
5
6
7
8
int main(void)
{
    int a = (int)(4.8 + 0.5);

    cout << a << "\n";

    return 0;
}


Output:
1
5


Create a new paste based on this one


Comments: