by @stud. Andrea Tramparulo Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_e2bf189f_49ef_4497_bdec_178ebed6065f"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_070a0ae4_2a76_4505_ac4c_364156eefcf3","initValue":null},{"@type":"Declare","tpe":"Integer","name":"rest","id":"id_083eb388_c3f7_4ec6_a916_d2b841e9f8d0","initValue":null},{"@type":"Declare","tpe":"Integer","name":"x2","id":"id_165f7167_0215_452b_b8e1_26cb5853fd4b","initValue":null},{"@type":"Declare","tpe":"Integer","name":"ris","id":"id_2073024f_08f9_4819_acf7_13f08ae54917","initValue":null},{"newline":true,"@type":"Output","id":"id_e49af058_ceef_46e2_b541_1664122a4d72","value":"\"dammi il numero\""},{"@type":"Input","name":"x","id":"id_94161d7c_b58b_4def_b7b0_a076ee81374f","prompt":null},{"@type":"Assign","name":"rest","id":"id_9510e2bf_66ab_4ca2_b669_a6cd0d3103d8","value":"x%2"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_38c706f4_bc3c_451c_bad2_6220b588cd9d","value":"\"il numero รจ dispari\""}],"id":"id_b6d3245f_be1b_41d1_a33c_f067771e9a31"},"trueBlock":{"statements":[{"@type":"Assign","name":"x2","id":"id_5a3575f6_91fd_42c4_95b9_fa8e4d688152","value":"x*x"},{"@type":"Assign","name":"ris","id":"id_c749babd_52a4_4b3a_9aa9_932f6c8bf450","value":"x2-x"},{"newline":true,"@type":"Output","id":"id_8aa52fac_c2da_46d5_8447_2c21be4a0780","value":"\"ecco il risultato \" + ris"}],"id":"id_0789c4ed_d263_4c3a_a33f_c8fb4bf7446d"},"condition":"rest==0","@type":"If","id":"id_f767dda4_1bf2_47f8_9fd1_2ef2177c5599"},{"@type":"Return","id":"id_4c5e4609_61f5_4516_8af6_646e99878d3d","maybeValue":null}],"parameters":[]},"id":"id_cd56b8c8_9283_493a_963f_4615832c8e63","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":66}