by @Alex Gabriel Bucsai Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_9474e95f_9a94_42e4_a612_fda7a6dd5ee3"},{"@type":"Declare","tpe":"Integer","name":"v","id":"id_a0476d72_0637_4cb7_830d_d6f643689bb9","initValue":null},{"@type":"Declare","tpe":"Integer","name":"k","id":"id_74070e48_2182_4d10_a9a6_9ed98158d73a","initValue":null},{"@type":"Declare","tpe":"Integer","name":"i","id":"id_fbaa6870_2a79_4469_8da6_a2915abb63fe","initValue":null},{"@type":"Declare","tpe":"Integer","name":"nb1","id":"id_ce6cfc37_188e_4b4f_af1c_171d9a38bc65","initValue":null},{"@type":"Declare","tpe":"Integer","name":"nb2","id":"id_3273fb16_cd62_40aa_8a32_011e6e2aa935","initValue":null},{"@type":"Declare","tpe":"Integer","name":"nb3","id":"id_03df76fb_da5c_4029_a8b5_ab0abd37de15","initValue":null},{"@type":"Declare","tpe":"Integer","name":"nb4","id":"id_281e408d_82aa_4a68_abc0_77e892fb2b48","initValue":null},{"newline":true,"@type":"Output","id":"id_4874cfe9_4990_4be9_9144_0cee3724a7ff","value":"\"inserire un cifra\""},{"@type":"Input","name":"v","id":"id_03c40b01_3b7c_4094_be29_5bbc5132face","prompt":null},{"condition":"v>=500","@type":"While","id":"id_3c73b882_01b4_4bf0_824e_a0bd75dee990","body":{"statements":[{"@type":"Assign","name":"k","id":"id_13d0b84f_5cb1_44b8_bf69_a19e8f14bffc","value":"v/500"},{"@type":"Assign","name":"i","id":"id_15ce8606_3f4d_4b6c_8ba8_94e6ddf240a4","value":"v%500"},{"@type":"Assign","name":"nb1","id":"id_ca6ba929_4a13_41e6_8a8a_69a6e92df427","value":"k-i"},{"newline":true,"@type":"Output","id":"id_174f7700_f3f1_477b_ae47_9cd176f270eb","value":"\"il num di banconote da 500 è:\""},{"newline":true,"@type":"Output","id":"id_3bb4f263_0baa_4847_9b81_a712d6f04d1c","value":"nb1"},{"@type":"Assign","name":"x","id":"id_dc2ec45f_1f20_4936_a107_3f8ceb0e9bfa","value":"19"}],"id":"id_2048990c_6b6b_4725_87bf_ce25a31e1fc7"}},{"condition":"v>=100","@type":"While","id":"id_7f9ae6c3_7809_44cc_9bb9_dad5b4fd2eae","body":{"statements":[{"@type":"Assign","name":"k","id":"id_f36d91ab_b93d_40fd_8f2d_31dd7095759f","value":"v/100"},{"@type":"Assign","name":"i","id":"id_2ededbd8_d1cd_4f17_a6d2_e3b18727dbc0","value":"v%100"},{"@type":"Assign","name":"nb2","id":"id_f33d87c9_4866_4f09_8f92_62bcf0900bc8","value":"k-i"},{"newline":true,"@type":"Output","id":"id_2fa32b7a_211a_4c14_b0ff_e9aa473d0aed","value":"\"il num di banconote da 100 è:\""},{"newline":true,"@type":"Output","id":"id_bc2276de_9bba_4861_8328_086475ed1f97","value":"nb2"}],"id":"id_49a51ac7_f984_4c49_954a_f4fd791b41df"}},{"condition":"v>=50","@type":"While","id":"id_c8a1a22c_0ca6_4253_b94d_4d5d9e48b99a","body":{"statements":[{"@type":"Assign","name":"k","id":"id_a0f358c0_0159_4dfa_9ce3_429aa12c37ec","value":"v/50"},{"@type":"Assign","name":"i","id":"id_fd0e2beb_da7a_4b94_923b_63775262f422","value":"v%50"},{"@type":"Assign","name":"nb3","id":"id_d4e4d1d8_931b_4d15_ab63_b525446a7252","value":"k-i"},{"newline":true,"@type":"Output","id":"id_d44411fd_412c_4795_ade4_3b2ade2cb3e4","value":"\"il num di banconote da 50 è:\""},{"newline":true,"@type":"Output","id":"id_d961c7a6_f6e0_4a18_b1e2_5e9ef1660d06","value":"nb3"}],"id":"id_784387be_c24d_4fed_871e_d5f77d7ba5df"}},{"condition":"v>=10","@type":"While","id":"id_bf30b61f_e94f_405f_8a0a_d08a308a1744","body":{"statements":[{"@type":"Assign","name":"k","id":"id_4cb5abfd_6f21_4a4c_8a56_c0ac3cc603ee","value":"v/10"},{"@type":"Assign","name":"i","id":"id_ed34ee30_e70b_41b4_8f6a_af53c33ba65a","value":"v%10"},{"@type":"Assign","name":"nb4","id":"id_bc703295_801f_40ae_b970_178d8ee5d541","value":"k-i"},{"newline":true,"@type":"Output","id":"id_946052a0_0579_457b_a55c_2c0faf7c2de3","value":"il num di banconote da 10 è:\""},{"newline":true,"@type":"Output","id":"id_98592b47_3dda_4112_90ea_f1b078316099","value":"\"nb4"}],"id":"id_60ab2a93_05ff_4b7b_9938_4cfab4dfe8a8"}},{"@type":"Return","id":"id_c35a3579_efd7_487d_a35d_a9fae805aec3","maybeValue":null}],"parameters":[]},"id":"id_a6f4b3b1_5810_4f39_80e4_7f180e4bd24a","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":466}