{"functions":[],"name":"Calcolatrice","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_1c4fe5c6_97ee_45bf_ad69_c3eae298afc9"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_21173bf8_ffb8_4053_ba4b_e38adf4cc796","initValue":"4"},{"@type":"Declare","tpe":"Integer","name":"y","id":"id_88a428b8_14bc_4914_b846_debb98f93114","initValue":"2"},{"@type":"Declare","tpe":"Integer","name":"scelta","id":"id_c031773f_969f_47db_afde_5e4ac2fcc918","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"risultato","id":"id_7f63c199_31b4_4ef5_8ab1_932537b35ff3","initValue":null},{"@type":"Input","name":"scelta","id":"id_14a7d939_24e5_4f74_a955_a5d1e22c1a1b","prompt":"\"Inserisci 1 per somma, 2 per moltiplicazione, 3 per divisione, 4 per sottrazione\""},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"@type":"Assign","name":"risultato","id":"id_a86ca708_ffc1_4201_81be_89d9b03dea8d","value":"x / y"}],"id":"id_19cb7c66_098c_4f31_be08_ff13f354dc4c"},"trueBlock":{"statements":[{"@type":"Assign","name":"risultato","id":"id_a098a81f_4e95_40da_b7db_f58a516abd1e","value":"x * y"}],"id":"id_695a441e_24f2_426b_a3bd_28fa636f0fe7"},"condition":"scelta==3","@type":"If","id":"id_2c9e9272_7a0d_4af1_b50f_71f9f2b39f98"}],"id":"id_61efd7b7_cfad_4bbc_9f6d_cc6d7873e7c5"},"trueBlock":{"statements":[{"@type":"Assign","name":"risultato","id":"id_c940e95f_8437_4d8a_b61f_a957d6453c36","value":"x - y"}],"id":"id_09ae5b16_2ef9_4b40_911a_07d148b467a9"},"condition":"scelta==2","@type":"If","id":"id_d7242925_3c95_4971_bdf2_822d4986f488"}],"id":"id_b92f5597_265f_4059_b16a_edeb931914b7"},"trueBlock":{"statements":[{"@type":"Assign","name":"risultato","id":"id_dab29b01_a7e4_4796_9178_fc688c9ffafe","value":"x + y"}],"id":"id_cb22c4f0_e144_45bc_9036_f1ed770bd712"},"condition":"scelta==1","@type":"If","id":"id_46e4958e_25f7_4fb6_9110_a3fcb9b74896"},{"newline":true,"@type":"Output","id":"id_6cfa098d_249a_4ce1_a744_2976d0766e98","value":"\"risultato = \" + risultato"},{"@type":"Return","id":"id_9a2bb228_de3c_4e87_8b7d_8cb791470a6b","maybeValue":null}],"parameters":[]},"id":"id_da729a15_1017_409f_b3f1_7a40b75b9b18","config":{"showDebugVars":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.2","revision":289}