by @stud. Mattia Sportelli Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_0f618c55_b091_4d61_9792_c843ecf341e2"},{"@type":"Declare","tpe":"Real","name":"n","id":"id_fbf19b71_d1b5_40d3_bd33_4ae68a6b172e","initValue":null},{"@type":"Declare","tpe":"Integer","name":"a","id":"id_1da2ebe9_9084_4304_897e_2b786d83a1d6","initValue":null},{"newline":true,"@type":"Output","id":"id_1393c4cf_cfec_417a_98ac_840af6249439","value":"\"dammi il numero 4\""},{"@type":"Input","name":"n","id":"id_8c3cef7f_a9f4_4210_a3c0_05b1c4cc8d12","prompt":null},{"falseBlock":{"statements":[],"id":"id_494429a4_9246_4bcc_bdd7_b29e2b631e55"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_ec2d1a9f_9948_4199_afca_dfc414b73c02","value":"\"il numero \" + n + \" è divisibile per 1\""},{"@type":"Assign","name":"a","id":"id_a0f6f847_43d7_4e37_93dd_a6e8a4e9cca6","value":"0+1"}],"id":"id_0428158a_a080_49d4_81a6_27fd5151e726"},"condition":"n%1==0","@type":"If","id":"id_02b2171e_568d_4798_808c_2a9d3fb845ca"},{"falseBlock":{"statements":[],"id":"id_71fea7b5_d6a2_4ae4_a718_e066b1ab815c"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_eb54adf5_adf4_4898_8aa4_d9a0501665de","value":"\"il numero \" + n + \" è divisibile per 2\""},{"@type":"Assign","name":"a","id":"id_5ca54b04_be48_4b0e_b492_a27ed3e9eb2b","value":"a+1"}],"id":"id_d7761cf2_1e28_4c05_9ba4_7a381e5e14d4"},"condition":"n%2==0","@type":"If","id":"id_f8fe79b2_7963_4dcc_8015_37e328d5b44e"},{"falseBlock":{"statements":[],"id":"id_77d54881_afd3_4342_b380_98e3817e383f"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_49477f1d_51fd_4eb5_8a87_d7913e43ba78","value":"\"il numero \" + n + \" è divisibile per 3\""},{"@type":"Assign","name":"a","id":"id_19173ba7_5ef7_4d00_b4a1_60d01747cfaf","value":"a+1"}],"id":"id_929a5b2e_4d21_419d_a547_5ab507dd44e8"},"condition":"n%3==0","@type":"If","id":"id_ab4ccaa9_d16a_4851_8f55_1df7ceb51478"},{"falseBlock":{"statements":[],"id":"id_afc05bad_2d11_4868_883e_6770a9097cb8"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_ae0e76f7_f33d_4752_9607_76710b16fd5d","value":"\"il numero \" + n + \" è divisibile per 4\""},{"@type":"Assign","name":"a","id":"id_8bf172ad_6fa0_48a0_ad17_31a1d38b163c","value":"a+1"}],"id":"id_2b076c2b_8d93_4c64_9d85_bbef68066d0a"},"condition":"n%4==0","@type":"If","id":"id_bf409568_e8db_4d44_aee9_a883deac82ca"},{"newline":true,"@type":"Output","id":"id_e0beb0d2_17c8_4dec_8530_339a8a9a53ae","value":"\"i numeri divisibili per 4 sono\" + a"},{"newline":true,"@type":"Output","id":"id_401d3270_8e3f_41b9_8be4_de4424db096b","value":"\"il numero\" + n + \" è divisibile per \" + a"},{"@type":"Return","id":"id_931f2323_9564_45ed_a377_1277e42f04da","maybeValue":null}],"parameters":[]},"id":"id_92c8ee14_1c65_45f8_9d7c_09ffae30c0dc","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":213}