[ create a new paste ] login | about

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

C, pasted on Oct 7:
1
2
3
4
5
int main() {
  int pennies = 224;
  printf("$%.2f", pennies / 100.0);
  return 0;
}


Output:
1
$2.24


Create a new paste based on this one


Comments: