by @luisa atzeni Fork
{"functions":[],"name":"sc","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_3f7fba47_c6fb_4395_873f_074bd5df602a"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"prezzo","lengthValue2":"5","id":"id_e3c3fff1_de30_46a5_b0bd_2aeca889d767","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"sconto","lengthValue2":"5","id":"id_a2ef995e_1b2f_4937_81d6_5dd9cc5771f9","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"prezzofinale","lengthValue2":"5","id":"id_6401556a_fdd2_467c_98b2_d1bcd588e341","initValue":null},{"@type":"Input","name":"prezzo","id":"id_b46dfcd2_effc_4822_9e6d_28f52bccdbad","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"sconto","id":"id_c7cf345f_c659_4a56_895b_07b7f3a632ba","value":"0.0"}],"id":"id_5feb7adb_c0df_4029_b641_d47f202eba17"},"trueBlock":{"statements":[{"@type":"Assign","name":"sconto","id":"id_29ab5d9e_97d7_4ee0_91a0_e9a850253d03","value":"prezzo*10/100"}],"id":"id_ad1094be_003e_4f5b_8096_698d3cf21f5f"},"condition":"prezzo>50","@type":"If","id":"id_39606150_b2ff_4473_ae37_a51e7e5963a2"},{"@type":"Assign","name":"prezzofinale","id":"id_85357c11_8ad0_4515_9600_508d0834b669","value":"prezzo-sconto"},{"newline":true,"@type":"Output","id":"id_66ef8abd_a067_434a_8016_10dc95200b19","value":"prezzofinale"},{"@type":"Return","id":"id_89a01d20_abc5_40c2_b0dd_3a6a3bb6c184","maybeValue":null}],"parameters":[]},"id":"id_9d1c3853_29d6_4fd5_846a_c60c97d15367","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":244}