| Age | Commit message (Expand) | Author |
|---|---|---|
| 2016-04-15 | Rump-ify if_pppoe | ozaki-r |
scale=2
print "\nCheck book program!\n"
print " Remember, deposits are negative transactions.\n"
print " Exit by a 0 transaction.\n\n"
print "Initial balance? "; bal = read()
bal /= 1
print "\n"
while (1) {
"current balance = "; bal
"transaction? "; trans = read()
if (trans == 0) break;
bal -= trans
bal /= 1
}
quit
class='logo' rowspan='2'>
| summaryrefslogtreecommitdiff |
| Age | Commit message (Expand) | Author |
|---|---|---|
| 2016-04-15 | Rump-ify if_pppoe | ozaki-r |