All pastes #382762 Raw Edit

Miscellany

public c v1 · immutable
·published 2007-03-05 21:54 UTC
rendered paste body
int main(int argc, char **argv) {    float cost = 0.02;    int seconds = atoi(argv[1]);    float mycost = ceil(seconds * cost / 0.60) / 100;    printf("%.4f\n", mycost);    return 0;}