by @stud. Matteo Chirico Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_9bec67a1_35a9_42c5_ae09_3c1174dcfe0a"},{"@type":"Declare","tpe":"Boolean","name":"errore","id":"id_32377548_2f5f_4d48_b795_ec27a5752456","initValue":"false"},{"@type":"Declare","tpe":"Real","name":"prezzo","id":"id_61ebc92b_2821_4e65_890b_27b36cea2707","initValue":null},{"@type":"Declare","tpe":"String","name":"letterasconto","id":"id_e1e7fda1_b4d3_4635_9aaa_9a3588cc27dd","initValue":null},{"@type":"Declare","tpe":"Real","name":"prezzoscontato","id":"id_8b99309d_6984_4354_9c94_4f39baf24780","initValue":null},{"newline":true,"@type":"Output","id":"id_14c5a416_3857_4022_a6a9_3429a806774f","value":"\"inserire il prezzo pieno\""},{"@type":"Input","name":"prezzo","id":"id_b54cdf1e_8d4f_468f_bdd3_d1513f6926a0","prompt":null},{"newline":true,"@type":"Output","id":"id_e189b5da_f675_46ab_a487_b4d541287f02","value":"\"inserire la lettera sconto\""},{"@type":"Input","name":"letterasconto","id":"id_58bf53de_8706_4826_8e2e_bf897b53735a","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"@type":"Assign","name":"errore","id":"id_561661af_2f0f_4934_a2ba_eddb4a6e70da","value":"true"}],"id":"id_eca69a94_c798_4cf4_a23d_757a1a0f092f"},"trueBlock":{"statements":[{"@type":"Assign","name":"prezzoscontato","id":"id_2ba3cdf4_91e2_4cbc_ac47_e14f724a99ee","value":"prezzo-(prezzo*22/100)"}],"id":"id_6a29dc2e_293b_4a2e_b106_cfdc65d7cac1"},"condition":"letterasconto==\"C\"","@type":"If","id":"id_d42a14a3_ea51_48c6_ac0c_179c92d7222b"}],"id":"id_0a3a9f8e_47d5_4509_bb01_12ed8ee8f069"},"trueBlock":{"statements":[{"@type":"Assign","name":"prezzoscontato","id":"id_685458f1_a4e2_4b30_b13a_841483a51c72","value":"prezzo-(prezzo*17/100)"}],"id":"id_e7e80e5c_30e3_4a54_9b72_730f6c3d0ba2"},"condition":"letterasconto==\"B\"","@type":"If","id":"id_20b2ad2e_b3b9_4912_a9b3_7cc1043ecbe9"}],"id":"id_39820502_5141_46ed_98a3_15c34bbd85c1"},"trueBlock":{"statements":[{"@type":"Assign","name":"prezzoscontato","id":"id_89f27bab_a79e_428d_b5e4_e022dfaebb5e","value":"prezzo-(prezzo*8/100)"}],"id":"id_8ab1d90a_e2e8_46ee_9e42_474e9ee15fd0"},"condition":"letterasconto==\"A\"","@type":"If","id":"id_6c5c6d7d_e2eb_4bbb_83d0_599891b46442"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_8e65edf9_6b8b_48b6_9381_a1c6550e7a15","value":"\"il prezzo scontato รจ\""},{"newline":true,"@type":"Output","id":"id_b3b40e77_5ddb_4d41_a73c_2ea8a855f945","value":"prezzoscontato"}],"id":"id_3d7c4596_c271_4bb4_bc2a_d9fdcd116f53"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_588ac17d_d593_428f_ad61_7d5508f4abb4","value":"\"ERRORE\""}],"id":"id_f643d4cc_1d07_496d_854b_74f608528cc1"},"condition":"errore","@type":"If","id":"id_2bd13de6_f880_4083_b9df_f6e1a0b357d7"},{"@type":"Return","id":"id_e8f98bda_c2f9_4b00_80b1_0ba22be29c54","maybeValue":null}],"parameters":[]},"id":"id_2c01608d_71c4_4417_a925_102407ca2ec4","config":{"showDebugVars":false,"showIoBtns":false,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.2","revision":944}