by @stud. Federico Umberto Paradiso Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_5aaf9dc9_53f5_462c_959a_c72a7fb84d11"},{"@type":"Declare","tpe":"Integer","name":"prezzo","id":"id_0b892ef4_33fd_4714_9899_3306e2f8b54e","initValue":null},{"newline":true,"@type":"Output","id":"id_4e029724_f68b_4b80_869e_4dade2f46dd2","value":"\"inserisci il prezzo\""},{"@type":"Input","name":"prezzo","id":"id_2dd57a0d_4ea4_4668_94fb_ffde8a8cd5ce","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_21d5cde0_03d4_4eb2_b9e5_a209acb14a19","value":"\"niente sconto\""}],"id":"id_fd71700c_56fa_42a5_86b2_7c066027e138"},"trueBlock":{"statements":[{"@type":"Assign","name":"prezzo","id":"id_9e4fb54e_ff19_479b_9b01_6ff1780843b5","value":"prezzo-prezzo*10/100"},{"newline":true,"@type":"Output","id":"id_016212cb_b7dd_4b31_b709_3c456168b3c1","value":"\"il prezzo scontato del 10% è di \" +prezzo"}],"id":"id_58b6ab83_75af_481b_8f2c_971e4340ba29"},"condition":"prezzo>80","@type":"If","id":"id_aeaa5d82_52b7_4c5a_a368_9c56995e0084"}],"id":"id_ded623fd_1ebc_446b_a048_b8043c496c31"},"trueBlock":{"statements":[{"@type":"Assign","name":"prezzo","id":"id_ce6a3e30_96e7_42b1_869e_37bd2d546c20","value":"prezzo-prezzo*20/100"},{"newline":true,"@type":"Output","id":"id_764ed64a_e012_4944_9f61_2e4dcb46bef9","value":"\"il prezzo scontato del 20% è di \" +prezzo"}],"id":"id_278c1602_1a43_4f00_98c2_5b10c1315433"},"condition":"prezzo>100","@type":"If","id":"id_a250acc8_965c_45dc_88ea_bab41c4a659b"},{"@type":"Return","id":"id_bd7c235d_7e82_4430_8d1e_29dc3b912448","maybeValue":null}],"parameters":[]},"id":"id_86bd6af9_9e80_4589_aa5b_15951c8b07d3","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":204}