by @stud. Mattia Sportelli Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_3c91434f_d469_4002_8a4a_b749666d10c2"},{"@type":"Declare","tpe":"Real","name":"prezzoscontato","id":"id_5345dcfd_bc3d_4c93_81f7_a357bf01bf4c","initValue":null},{"@type":"Declare","tpe":"Real","name":"prezzo","id":"id_13f51072_3692_4493_9c34_34a068916eff","initValue":null},{"@type":"Declare","tpe":"String","name":"letterasconto","id":"id_f86889a6_b158_4d2c_b874_9f8958b9f80d","initValue":null},{"newline":false,"@type":"Output","id":"id_61490d73_fa30_4024_aacd_11c1d21df048","value":"\"inserire prezzo pieno\""},{"@type":"Input","name":"prezzo","id":"id_da4cd64a_1f03_4071_97e6_5049868e49aa","prompt":null},{"newline":true,"@type":"Output","id":"id_f5389d85_d131_406f_81f0_52fdd71e444a","value":"\"inserire la lettera di sconto\""},{"@type":"Input","name":"letterasconto","id":"id_f9a9987c_43c4_49fe_917b_34375265dfa3","prompt":null},{"falseBlock":{"statements":[],"id":"id_d0006d32_9805_49e1_946a_765a7a38db9d"},"trueBlock":{"statements":[{"@type":"Assign","name":"prezzoscontato","id":"id_43c498ff_7af6_4dec_87c4_e22726a46680","value":"(prezzo*92)/100"}],"id":"id_d95355ac_de04_4f75_b62b_0a8fc722b7eb"},"condition":"letterasconto==\"A\"","@type":"If","id":"id_654e6565_bd13_48f8_9b7a_311a80498928"},{"falseBlock":{"statements":[],"id":"id_71c88477_3685_476d_b1a1_980bc0459d39"},"trueBlock":{"statements":[{"@type":"Assign","name":"prezzoscontato","id":"id_8938c015_b99e_4cc8_88a5_589bf8dd01c4","value":"(prezzo*83)/100"}],"id":"id_05fc6011_9565_4cd0_9418_550cffa7edb2"},"condition":"letterasconto==\"B\"","@type":"If","id":"id_4de45b0d_99ba_45e1_8f11_6845225e1843"},{"falseBlock":{"statements":[],"id":"id_5b4bcda4_1594_4b10_bf26_b3148a82466e"},"trueBlock":{"statements":[{"@type":"Assign","name":"prezzoscontato","id":"id_0023e969_416f_4535_a95f_512a7c25741b","value":"(prezzo*78)/100"}],"id":"id_601975f8_82dc_490e_a505_a4aa71d004a1"},"condition":"letterasconto==\"C\"","@type":"If","id":"id_063afe8e_5a07_4d02_ae18_c4161f7d7633"},{"falseBlock":{"statements":[],"id":"id_0208d87c_5d67_497e_9864_75b2e11ab55b"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d57a65ed_5054_4cbb_a9d5_c8626092028e","value":"\"ERROREEEEEEEEEEEEEEEEEEEEE\""}],"id":"id_b0653f3b_58a5_4170_a328_ef230621f139"},"condition":"(letterasconto!=\"A\")&&(letterasconto!=\"B\")&&(letterasconto!=\"C\")","@type":"If","id":"id_e2fabf35_f8d4_4e69_ad46_ca3cc52a5626"},{"newline":true,"@type":"Output","id":"id_db173dff_4409_4358_ad88_6ca6247af1c0","value":"\"Il prezzo scontato รจ \" + prezzoscontato"},{"@type":"Return","id":"id_30ba91d9_d8dd_4dc6_97bc_77b6048e2dc5","maybeValue":null}],"parameters":[]},"id":"id_74fca24d_3586_4479_8a40_59a1a6773ec2","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":643}