by @stud. Luca Redaelli Fork
{"functions":[],"name":"esercitazione 2a","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_47ff885e_b128_4924_bb60_755af5f897c6"},{"@type":"Declare","tpe":"Integer","name":"prezzo","id":"id_baedc5c1_d93f_4659_a91c_66181da28ecb","initValue":null},{"@type":"Input","name":"prezzo","id":"id_94174bb3_f714_4c64_add5_6b3d9639d374","prompt":null},{"@type":"Declare","tpe":"Real","name":"prezzoscontato","id":"id_ee62db9b_c461_4e06_ae0d_9a216d9980e6","initValue":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"prezzoscontato","id":"id_9c23a1aa_c9d5_4ed8_a5fd_80e43cde7e38","value":"prezzo-prezzo*0.2"}],"id":"id_44458b1b_20cf_4254_a8b3_f4a2226028e5"},"trueBlock":{"statements":[{"@type":"Assign","name":"prezzoscontato","id":"id_50d66282_a85f_4d0a_a73f_dba2e7e4b836","value":"prezzo-prezzo*0.4"}],"id":"id_bfb8e71a_ecc4_45f3_be1a_ca491e92a8e8"},"condition":"prezzo>500","@type":"If","id":"id_47220efc_64b6_47dd_8645_ee538a1cea8e"},{"newline":true,"@type":"Output","id":"id_60ccbd25_d320_4de7_b91d_18f1c9069c15","value":"prezzoscontato"},{"@type":"Return","id":"id_42889734_6955_4c8e_aebf_40f30f99c759","maybeValue":null}],"parameters":[]},"id":"id_eae5d825_23cb_4e08_90cf_1d8aa2379527","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":209}