by @Michele De Rosa Fork
{"functions":[{"rawId":"id_b6f84908_ca55_49a1_9067_65e189bea816","tpe":"Boolean","name":"ispositive","statements":[{"@type":"Begin","id":"id_c1161593_c690_4c96_ba45_1b31b37587bc"},{"@type":"Declare","tpe":"Boolean","name":"positive","id":"id_cf391640_4ea0_407f_b510_62f2ded42a1c","initValue":"true"},{"falseBlock":{"statements":[],"id":"id_c103a0c5_2bde_424e_98d1_0e2b5b239373"},"trueBlock":{"statements":[{"@type":"Assign","name":"positive","id":"id_c04fa03e_3f64_41a3_a25a_40fddcf06671","value":"false"}],"id":"id_887db21e_ab7e_4395_918d_2f2ea4dc20e7"},"condition":"number < 0","@type":"If","id":"id_5a9af7c8_c804_4317_97bc_44f63a5949f6"},{"@type":"Return","id":"id_9a2c9f2b_a451_42ba_9afa_506910920353","maybeValue":"positive"}],"parameters":[{"tpe":"Integer","name":"number","id":"b80fac46-d645-4d3a-96ff-0c4a7d04ce4a"}]}],"name":"k multipli di n","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_3993af9d_2a70_4a37_ae3b_36acf8360437"},{"@type":"Declare","tpe":"Integer","name":"n","id":"id_f8e2c32c_59f4_4130_abe6_114d540eff63","initValue":null},{"@type":"Declare","tpe":"Integer","name":"k","id":"id_4499ea56_990a_42cb_b758_7191c34d8cb0","initValue":null},{"condition":"!ispositive(n)","@type":"DoWhile","id":"id_1eadc359_7855_4f78_8e9b_8b88591a3487","body":{"statements":[{"@type":"Input","name":"n","id":"id_651fe158_99af_4e60_ad1d_a455fc610aa1","prompt":"Inserisci n"}],"id":"id_ab5d3139_5c5d_454a_8919_e998014fac17"}},{"condition":"!ispositive(k)","@type":"DoWhile","id":"id_c442d03c_f95c_41fc_b316_a041b4ec0979","body":{"statements":[{"@type":"Input","name":"k","id":"id_e8bc50a7_0f73_497e_8793_304174dc7bdb","prompt":"Inserisci k"}],"id":"id_9eca8c7e_2e96_4fd3_8254_577e7aa7d712"}},{"@type":"Declare","tpe":"Integer","name":"multiplo","id":"id_8a1edfab_900c_4482_828a_94afa116fbb8","initValue":null},{"varName":"i","incr":"1","@type":"ForLoop","start":"0","end":"k-1","id":"id_f62ab99b_04ed_4b52_af7d_f84fe3609168","body":{"statements":[{"@type":"Assign","name":"multiplo","id":"id_9040a5cc_6156_4956_a3b7_abaae48f5ba9","value":"i * n"},{"newline":true,"@type":"Output","id":"id_aad4f805_b777_437f_ac06_c345443bb75a","value":"\"Un multiplo di \" + n + \" รจ \" + multiplo"}],"id":"id_daa9c64b_94de_45da_bd01_6102978d94a3"}},{"@type":"Return","id":"id_1e08df4e_3f87_499e_9d91_7beaad78f3df","maybeValue":null}],"parameters":[]},"id":"id_619466c5_fa12_4b24_a2c7_0bff5defdfbf","config":{"showDebugVars":true,"showFunctions":true,"lang":"kotlin","showGenCode":true},"version":"0.2","revision":368}