by @stud. Matteo Chirico Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_ff49761c_1a96_4007_90da_5ec76a0fc06f"},{"@type":"Declare","tpe":"Integer","name":"qta","id":"id_af38566a_1aeb_4ba7_bc5d_cd3b1e9013c3","initValue":null},{"@type":"Declare","tpe":"Real","name":"p","id":"id_8aafadcd_9c61_42c2_82f8_c2998bd26927","initValue":null},{"@type":"Declare","tpe":"Real","name":"tot","id":"id_dfc0771e_4717_4490_a794_478c38ec9f9a","initValue":null},{"@type":"Declare","tpe":"Integer","name":"s","id":"id_63541fe0_4b50_44e9_956c_66c170b5dbae","initValue":null},{"newline":true,"@type":"Output","id":"id_d4f71240_fe79_4113_a27a_7ccca3dad6c5","value":"\"dammi qta\""},{"@type":"Input","name":"qta","id":"id_dcf4d7af_6de3_493e_ac25_e33442836eac","prompt":null},{"newline":true,"@type":"Output","id":"id_a33c189c_9581_4ef8_b0e5_b188042b1297","value":"\"dammi p\""},{"@type":"Input","name":"p","id":"id_af9a25c9_c040_4d60_98b4_8700ba546d0b","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"@type":"Assign","name":"tot","id":"id_f75a5d71_605a_491f_8d56_e3d01407f35b","value":"(qta*p)-(qta*p*5)/100"},{"newline":true,"@type":"Output","id":"id_c02e176f_3c3f_48c8_8abe_c59d76675c15","value":"\"il totale è\""},{"newline":true,"@type":"Output","id":"id_52ec74c7_a3dd_4104_952b_05c3513be770","value":"tot"}],"id":"id_2e86a038_cc34_43f8_8cb3_7b866fe56736"},"trueBlock":{"statements":[{"@type":"Assign","name":"tot","id":"id_dfca7c40_772b_4b01_b9db_6771a23aa8fd","value":"(qta*p)-(qta*p*10)/100"},{"newline":true,"@type":"Output","id":"id_d6e6cbed_6352_4fa5_ab48_c226e6c88cc7","value":"\"il t è\""},{"newline":true,"@type":"Output","id":"id_85ead1d6_a88e_4897_b576_3c8d5390281f","value":"tot"}],"id":"id_92a2861b_32ac_4aa2_8aee_281c52e66773"},"condition":"qta>10","@type":"If","id":"id_b1199b87_d6af_434b_86cf_896dc24793a0"}],"id":"id_852dde16_16c2_4cdd_a3e1_9a4156bf9072"},"trueBlock":{"statements":[{"@type":"Assign","name":"tot","id":"id_8cd4eefc_b0c1_49ab_972f_50e7bac0cd4b","value":"qta*p"},{"newline":true,"@type":"Output","id":"id_3068cbc0_d02f_4a4c_bf10_c16a431a9782","value":"\"il tot è\""},{"newline":true,"@type":"Output","id":"id_3e3602a7_2491_4764_a2a2_98761aa476a8","value":"tot"}],"id":"id_a41a6965_6b4b_429a_a80f_4c6445d06e2b"},"condition":"qta<5","@type":"If","id":"id_a8b83e90_a304_4c44_a7b0_76c97a383e13"},{"@type":"Return","id":"id_f430b433_ac99_4c05_a5bd_36521658bece","maybeValue":null}],"parameters":[]},"id":"id_f25a29a9_257b_4cfd_8453_9fb6926380f8","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":110}