Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (17 sloc) 433 Bytes
form taxOfficeExample {
"Did you sell a house in 2010?"
boolean hasSoldHouse
"Did you buy a house in 2010?"
boolean hasBoughtHouse
"Did you enter a loan?"
boolean hasMaintLoan
if (hasSoldHouse) {
"What was the selling price?"
money sellingPrice
"Private debts for the sold house:"
money privateDebt
"Value residue:"
money valueResidue =
(sellingPrice - privateDebt)
}
}