by @stud. Filippo Morelli Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_38308291_4283_4e17_b48c_a0bb0ef4caf7"},{"@type":"Declare","tpe":"Integer","name":"qnt","id":"id_ac4bd071_f7e7_4f85_bdd6_91ab8fbf48f2","initValue":null},{"@type":"Declare","tpe":"Integer","name":"prz","id":"id_439870cb_f715_48f3_8b63_eed5cff34dcd","initValue":null},{"@type":"Declare","tpe":"Real","name":"tot","id":"id_ce8cf0e6_dd50_4315_b4f9_e2110982d9c3","initValue":null},{"@type":"Declare","tpe":"Integer","name":"sconto","id":"id_c0732188_06ab_4ed6_b05d_1efc0a404d70","initValue":null},{"newline":true,"@type":"Output","id":"id_f7c2106f_80d3_402b_803d_1929ba8aaca0","value":"\"dammi qnt\""},{"@type":"Input","name":"qnt","id":"id_0239b930_6645_4f8e_bd40_f51f9b783fc3","prompt":null},{"newline":true,"@type":"Output","id":"id_e6ad2ef5_0f6f_4ed5_8dab_e82959c8cf8d","value":"\"dammi prz\""},{"@type":"Input","name":"prz","id":"id_f46dee55_bf36_401e_80e9_ca2cf18aeb7b","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"tot","id":"id_d785446c_b621_4240_84fe_b1c068ba9aa4","value":"prz*qnt"},{"newline":true,"@type":"Output","id":"id_98e8b5ec_41fc_4e40_9800_ad527ad2002c","value":"\"non hai diritto allo sconto\""}],"id":"id_8a03d77b_3fbd_4f81_879e_c6b8202b4a56"},"trueBlock":{"statements":[{"@type":"Assign","name":"tot","id":"id_d2dcc7a9_4d61_4e71_94f9_ea300033aea6","value":"(prz*qnt)*95/100"},{"newline":true,"@type":"Output","id":"id_3308f676_3cb8_4b3b_a38b_3d40e4fd88c3","value":"\"puoi avere lo sconto\""},{"@type":"Assign","name":"sconto","id":"id_ac2cdf2b_cd1b_4da7_8b0e_144b330003fe","value":"(prz*qnt)*5/100"},{"newline":true,"@type":"Output","id":"id_a9d7a8aa_2eac_4e8f_971c_67ba776b76e8","value":"\"lo sconto รจ di...\""},{"newline":true,"@type":"Output","id":"id_8c5fe69a_7322_4f25_bd1d_63de1be147f2","value":"sconto"}],"id":"id_f1d17463_c146_49fb_bb98_5b72c3a884aa"},"condition":"qnt>5","@type":"If","id":"id_d2de95fa_6fa4_458c_bd5d_46b8aedf9593"},{"@type":"Return","id":"id_63854496_8537_4641_956a_fb115bff5605","maybeValue":null}],"parameters":[]},"id":"id_47ae375c_662c_47bf_a793_afe332b44022","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":224}