by @stud. Mattia Sportelli Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_5663f85a_1745_4c02_a624_83b129d2925b"},{"@type":"Declare","tpe":"Integer","name":"n","id":"id_34cc32c3_2721_4e2c_979b_0dd76d452304","initValue":null},{"@type":"Declare","tpe":"Integer","name":"d","id":"id_3aa419ba_8f6b_4a43_bb5c_5aae55f4845d","initValue":null},{"@type":"Declare","tpe":"Integer","name":"y","id":"id_365a339b_5108_4291_b06f_dbec6babc8e7","initValue":"0"},{"condition":"y==0","@type":"While","id":"id_0834fafd_de2d_48e5_943a_a5885374af6c","body":{"statements":[{"newline":true,"@type":"Output","id":"id_29afd4bf_30ce_47b1_a6da_e22c1b531c2a","value":"\"dammi il numero\""},{"@type":"Input","name":"n","id":"id_11b2b93f_aaeb_4ff7_856e_ce04e1ea5e1f","prompt":null},{"newline":true,"@type":"Output","id":"id_05503990_057f_46ba_a345_2a33730dec7e","value":"\"dammi il divisibile\""},{"@type":"Input","name":"d","id":"id_c48cf8c5_346d_4aa1_950e_be19a7b8af61","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_aab2ea0b_6d36_4c41_936b_32e17f25987d","value":"\"il numero \" + n + \" non è divisibile per \" + d"}],"id":"id_98c92b8b_5e86_4086_840a_767828963e4a"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_5da2a270_e82c_410b_9eca_71e5d89781c4","value":"\"il numero \" + n + \" è divisibile per \" + d"}],"id":"id_f53c4291_12f9_49f3_9e3d_ea49781fc2ca"},"condition":"n%d==0","@type":"If","id":"id_5521b35a_a39b_4a04_8013_feae818fa468"}],"id":"id_c3420603_76f0_4b2d_9e28_f27bd2c316cc"}},{"@type":"Return","id":"id_033ec9c6_c194_4f7c_bf05_093679ab833c","maybeValue":null}],"parameters":[]},"id":"id_62169e54_2ade_45d2_8d5e_a4df5ec3e464","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":94}