{"functions":[],"name":"es. 2 della verifica di info","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_dd6885b5_0459_4056_aca2_342529cb1c10"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"totale_spesa","lengthValue2":"5","id":"id_bd5c5a2e_b9bc_4a87_9680_2b4d53689784","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"sconto","lengthValue2":"5","id":"id_3453a2a6_aee2_487e_afdf_f9332e3b940e","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"omporto_da_pagare","lengthValue2":"5","id":"id_18df5075_545b_416c_b4b1_89461cea2927","initValue":null},{"@type":"Input","name":"totale_spesa","id":"id_aa8c3658_1f6f_4c22_b64f_327dd534ad6b","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"@type":"Assign","name":"sconto","id":"id_45be784f_5d34_4854_a453_ae8402bddc0e","value":"totale_spesa*0.2"}],"id":"id_306181d4_9e50_40e8_8df7_cb74d0cf6e43"},"trueBlock":{"statements":[{"@type":"Assign","name":"x","id":"id_88d562a6_e4e7_43c1_b6f7_eeb94065bde3","value":"totale_spesa*0.1"}],"id":"id_58c87329_5b94_40e8_9352_b42f1d8af8c8"},"condition":"totale_spesa <= 100","@type":"If","id":"id_bdc8b7a9_d360_4e35_89d7_be5223b48fff"}],"id":"id_826354da_552c_41ac_ac67_8ae460991586"},"trueBlock":{"statements":[{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"sconto = 0","lengthValue2":"5","id":"id_9e2484fe_90ab_4b04_a99a_b53e011a0c39","initValue":null}],"id":"id_cc232287_7eb7_4116_b827_3c57abc66b8c"},"condition":"totale_spesa < 50","@type":"If","id":"id_e5ade2d5_205e_41df_a9d0_ea4340a1226f"},{"@type":"Assign","name":"importo_da_pagare","id":"id_cbd1dd5d_18a2_4a92_bf55_598fa4e2266e","value":"totale_spesa - sconto"},{"newline":true,"@type":"Output","id":"id_7282671a_ab8e_48ac_bfda_876997dabc29","value":"sconto"},{"newline":true,"@type":"Output","id":"id_482fdb6a_c526_40ef_bd2c_6e9882f78795","value":"importo_da_pagare"},{"@type":"Return","id":"id_52c42ae7_8eba_4390_b4d2_975aad17bfa2","maybeValue":null}],"parameters":[]},"id":"id_5098524c_2f26_4d28_909c_1621d88bd130","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":409}