by @filippo d'alessio Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_ce28e5c8_5ef5_4c23_b180_0d23b4b32e32"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"base","lengthValue2":"5","id":"id_e9a176f4_e1d7_4518_98a2_3252c0f7570e","initValue":null},{"@type":"Input","name":"base","id":"id_cc368b47_9b9d_4780_bc94_66dff8b2a3c4","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"altezza","lengthValue2":"5","id":"id_f02b4128_5cdb_457c_bb2d_11fd1f2bc775","initValue":null},{"@type":"Input","name":"altezza","id":"id_33ac3125_096a_4180_9d82_6813368fceaf","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"area = (base*altezza)/2","lengthValue2":"5","id":"id_fe2a6e49_2ea2_4d8c_a515_b93dda7e8996","initValue":null},{"newline":true,"@type":"Output","id":"id_23860caa_5ac3_483a_967a_42d8deee97fd","value":"area"},{"@type":"Return","id":"id_4de5380a_2079_4c74_a9ea_cd268c2f8dd5","maybeValue":null}],"parameters":[]},"id":"id_564f5004_0788_4ef4_acba_d43125d0ef41","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":176}