{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_d9aae513_12fb_41b7_8d52_5b0823396637"},{"@type":"Declare","tpe":"Integer","name":"tentativi","id":"id_7c08b001_58ee_4690_bc48_b1d3d2a40f96","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"risposte corrette","id":"id_e9ac942e_2901_4962_8131_bd08e01fd2db","initValue":"0"},{"varName":"n","incr":"1","@type":"ForLoop","start":"1","end":"10","id":"id_e0b4f487_599a_41f3_9af9_ce42f908d6aa","body":{"statements":[{"@type":"Declare","tpe":"Integer","name":"n1","id":"id_4810091d_3d56_4dc9_a31c_52a55ce88dc8","initValue":"random(9)+1"},{"@type":"Declare","tpe":"Integer","name":"n2","id":"id_b889e9fd_e4d9_425c_aa73_ee43c2fea4f5","initValue":"random(9)+1"},{"@type":"Declare","tpe":"Integer","name":"prodotto","id":"id_eba85ab8_0230_4e2b_a577_648f645f8789","initValue":"n1*n2"}],"id":"id_4ba79433_dbfe_464e_bf3f_ea161ccd7608"}},{"falseBlock":{"statements":[],"id":"id_703a7abf_c50b_4eb7_9433_14a76b8fa797"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Integer","name":"scrivi risultato prodotto","id":"id_3806e83f_258f_437f_a462_acc70e61de52","initValue":null},{"falseBlock":{"statements":[],"id":"id_beb09eb0_ce35_4a40_b19a_a8c9fd3b6f21"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Integer","name":"corretta","id":"id_1ff2255a_947c_475a_98a6_4833c9ebb13e","initValue":"n+1"}],"id":"id_4220a4b8_32c5_46fd_9826_a654cff5625d"},"condition":"risposta","@type":"If","id":"id_2eee8406_0466_49cb_a2fa_3abf6cb9af9c"}],"id":"id_8bdeb11d_b9e5_4ce1_b475_45c538be5050"},"condition":"se la risposta errata è vera","@type":"If","id":"id_057cbabf_5c6c_49fd_9ef8_fd308147b999"},{"@type":"Declare","tpe":"Real","name":"fai più tentativi","id":"id_a80154e7_fda9_4a84_bfe2_46b40f2f198c","initValue":null},{"falseBlock":{"statements":[],"id":"id_3f60dcc5_c594_4b3c_883e_94d1282db687"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"\"bravissimo\"","id":"id_a5ab806a_abe9_4193_bf62_c20bfb30b280","initValue":null}],"id":"id_c37ba5a0_2216_4d11_92c8_d0b282cadc95"},"condition":"tentativi == 10","@type":"If","id":"id_e132929c_0762_4bcb_b7a8_f41b1ba02d4f"},{"falseBlock":{"statements":[],"id":"id_60ee7267_5ed7_4cef_9f5f_18ad9ad65f18"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"\"bravo\"","id":"id_5d3e39c0_a58c_4a2b_a648_e7aa4a072ed5","initValue":null}],"id":"id_91eb3b68_e5a2_4338_ae70_bd1531edf998"},"condition":"tentativi >= 11 e <= 13","@type":"If","id":"id_f8477c65_27bd_40a8_ab57_1ff1b9c56d66"},{"falseBlock":{"statements":[],"id":"id_365c1856_f3ff_465c_a01c_cc88a7fa2e65"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"\"bravino\"","id":"id_0bcad347_34b9_4638_8349_ac60a83ff571","initValue":null}],"id":"id_c39e5703_4312_4562_a8da_5fa4d2876b7d"},"condition":"tentativi >= 14 e <= 16","@type":"If","id":"id_43609069_556d_4364_b4e7_6d81d1ed5679"},{"falseBlock":{"statements":[],"id":"id_75e7f5d8_1fe1_4b6c_9bf6_82cd5958a8f4"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"\"devi allenarti\"","id":"id_7772bd3d_a944_4c57_aabb_2b6a4eff61f0","initValue":null}],"id":"id_e8384a64_66b6_430f_8d8a_7d4230df2b05"},"condition":"tentativi > 16","@type":"If","id":"id_40d3ebd7_90e0_4817_b164_0bce0117cfef"},{"@type":"Return","id":"id_61f7f674_a4e3_4f1a_97f1_c5a0fccce292","maybeValue":null}],"parameters":[]},"id":"id_19074644_98f7_49c9_ab34_e8063e5f987f","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":805}