by @stud. Marco Barlascini Fork
{"functions":[],"name":"legge 5 numeri, trova mag. e min. som. molt.","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_bdb83528_a3fc_4048_810e_99b34c31a253"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_f8c7d227_8a35_49aa_85ed_fd21941e0813","initValue":null},{"@type":"Declare","tpe":"Integer","name":"y","id":"id_61c1b019_2425_4daa_863e_d0b8128b5fc9","initValue":null},{"@type":"Declare","tpe":"Integer","name":"z","id":"id_26f42fc1_f9ef_479b_8844_1c908e705af7","initValue":null},{"@type":"Declare","tpe":"Integer","name":"a","id":"id_35b36694_158a_4be4_be21_6092d858a02a","initValue":null},{"@type":"Declare","tpe":"Integer","name":"b","id":"id_2466cf93_02d7_44d7_9c43_1d89d2f748b0","initValue":null},{"@type":"Declare","tpe":"Integer","name":"maggiore","id":"id_9d2ec481_5ba9_454a_9bce_30a3cfe23e10","initValue":null},{"@type":"Declare","tpe":"Integer","name":"minore","id":"id_01e32bae_03c0_4729_8394_303a2b83d321","initValue":null},{"@type":"Declare","tpe":"Integer","name":"moltiplicazione","id":"id_92e73e9c_b5e1_463c_90f2_001d29dfa93a","initValue":null},{"@type":"Declare","tpe":"Integer","name":"somma","id":"id_74ca41ef_641b_4fc7_b9f7_7bf7a968ab82","initValue":null},{"newline":true,"@type":"Output","id":"id_247beadc_fb4b_457d_b4ce_5518cd872743","value":"\"dammi x\""},{"@type":"Input","name":"x","id":"id_48a9911f_54c1_4b5a_b35a_768fd623de96","prompt":null},{"newline":true,"@type":"Output","id":"id_5f2b9f96_0fad_4b5d_94b6_a80b8f222ceb","value":"\"dammi y\""},{"@type":"Input","name":"y","id":"id_1a4d7c4f_78f0_4925_801f_280d83c96a9f","prompt":null},{"newline":true,"@type":"Output","id":"id_8acbe962_162c_471e_af6b_132a2c18a7fb","value":"\"dammi z\""},{"@type":"Input","name":"z","id":"id_436674fb_6ced_425a_a6ca_e4e9f6f2ab27","prompt":null},{"newline":true,"@type":"Output","id":"id_74998ae0_bb9c_4f63_9da8_7efcd17f0aa0","value":"\"dammi a\""},{"@type":"Input","name":"a","id":"id_05e7aad3_6d46_4c64_a063_25e1365a0d13","prompt":null},{"newline":true,"@type":"Output","id":"id_2ed05947_94ee_45d8_9f21_0df05974b7ae","value":"\"dammi b\""},{"@type":"Input","name":"b","id":"id_00ea5975_89cc_4ecc_9e57_477d43889e98","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_9620b184_1ba7_4423_bc27_2d7f00c16484","value":"\"il minore è x\""},{"@type":"Assign","name":"minore","id":"id_7ee4af3b_3444_474f_8fe8_6603edf69c91","value":"x"}],"id":"id_9f44f2a5_4da6_4e7d_b68a_45ef5bfc949d"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3b15188f_3702_442e_8825_fdbbfe5d74a5","value":"\"il minore b\""},{"@type":"Assign","name":"minore","id":"id_4eaf3e97_eda3_4dd4_a9d8_3c1d4621eeef","value":"b"}],"id":"id_2a5cb492_c3e0_4ef0_b814_4fdd8e8cd6c6"},"condition":"b<x","@type":"If","id":"id_944c0e0d_3d7c_44f7_95bf_0a925c4ae99f"}],"id":"id_4ed3d154_abb0_4380_96ea_22a844c03a82"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_65c9f3b7_6d34_4a0d_b393_0eebfde639ff","value":"\"il minore è a\""},{"@type":"Assign","name":"minore","id":"id_96853c79_0579_4745_bd09_dd98814a2bc8","value":"a"}],"id":"id_5df709b9_fd90_4fdb_8504_2e5d594ab8f8"},"condition":"a<b","@type":"If","id":"id_6d043c61_fc59_40a2_9ed2_32d75971fbc1"}],"id":"id_318f348d_eae6_4e01_ac78_23aae4149765"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d443207d_b2e8_440d_919e_5bbca54b93cc","value":"\"il minore è z\""},{"@type":"Assign","name":"minore","id":"id_4854f062_85f1_4ea3_8d02_62b23521b4a1","value":"z"}],"id":"id_e85fabde_4f51_4cb0_b1c1_03aa7ed6f9d6"},"condition":"z<a","@type":"If","id":"id_50800c65_7eff_4ca3_8cae_0e0c31a174c7"}],"id":"id_11be7a96_8d3e_4c52_b6d5_3d071038f848"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_ea3e5c2f_6058_40c9_aada_c7fc7a5c426a","value":"\"il minore è y\""},{"@type":"Assign","name":"minore","id":"id_f7b2c1fd_24c9_4098_9feb_1c2f78e036d5","value":"y"}],"id":"id_6ad260d9_7c02_467a_a38c_f6b66295c093"},"condition":"y<z","@type":"If","id":"id_56022cac_966b_4fff_bda5_556c75642f1c"}],"id":"id_69ec8ff5_a3f9_47ad_8982_1647e39f414c"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_79a23f9b_aa2d_4528_88b5_a0bce4bd9a66","value":"\"il minore è x\""},{"@type":"Assign","name":"minore","id":"id_16033f51_0a39_4773_bce0_974a5a0b7c8f","value":"x"}],"id":"id_9e3d7224_e169_49f2_a9fe_c63addf69a9d"},"condition":"x<y","@type":"If","id":"id_160bfae8_b3f6_4c04_9898_b2ec4654c0e2"},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_380c493e_cccd_41f0_83c8_6f9414e7479f","value":"\"il maggiore è z\""},{"@type":"Assign","name":"minore","id":"id_92c56035_4ead_4e77_ab17_cc6c69d08d68","value":"x"}],"id":"id_58724887_3ab7_423f_a882_1f3661e8ff8f"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d23de7be_7cb6_4ca3_b1e8_6d96e0802937","value":"\"il maggiore è b\""},{"@type":"Assign","name":"minore","id":"id_0ac845c9_6ecb_48c1_9a6a_89b1207e7864","value":"b"}],"id":"id_763700a6_f2cb_443b_94fa_7bde862a7847"},"condition":"b>x","@type":"If","id":"id_a13b83c5_3a3f_4800_b43f_00c47c58b79e"}],"id":"id_a836ba21_ef0a_4a06_adac_93eae27d53dd"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_94abb3c9_f567_4af5_a3ec_5842b66f0afc","value":"\"il maggiore è a\""},{"@type":"Assign","name":"minore","id":"id_b15fe470_5be6_489a_8688_850da16b9d54","value":"a"}],"id":"id_0dab19f1_f4aa_4bac_9588_03fec4f7d684"},"condition":"a>b","@type":"If","id":"id_ce782171_642e_4a77_b212_9abcfb591636"}],"id":"id_1157d8dc_41d3_482d_a9c7_96d456f56c24"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_2a95041b_bbf9_48ef_b93a_e5e97868214e","value":"\"il maggiore è z\""},{"@type":"Assign","name":"minore","id":"id_2b75a836_612a_40b5_aaf0_0be66e0fde28","value":"z"}],"id":"id_03ba775b_b7c0_4241_9e50_0582c79d5bd7"},"condition":"z>a","@type":"If","id":"id_db58b221_e14a_4f8d_98cc_7adc50f33531"}],"id":"id_db616160_fc13_4aa7_a3fe_dcb9cc89d571"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_390b5701_7391_4d5f_aba6_48b90a9563d0","value":"\"il maggiore è y\""},{"@type":"Assign","name":"minore","id":"id_8cc993bf_6f44_4098_9f60_ab4f912f0f6f","value":"y"}],"id":"id_2f4fb506_918c_43a6_a70d_f470152f0c94"},"condition":"y>z","@type":"If","id":"id_8bb477f8_dcc2_4c65_85db_67d1984d6abc"}],"id":"id_a86fa1d7_8019_499e_be64_480c48cbce24"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_a2d98498_4241_41ad_baee_29230b7f9e16","value":"\"il maggiore è x\""},{"@type":"Assign","name":"minore","id":"id_be50304e_aaa8_4f44_a94e_434c3b78122f","value":"x"}],"id":"id_ffb67b68_4967_4efe_be21_226002525f1f"},"condition":"x>y","@type":"If","id":"id_383e46dc_fbcc_4146_b3ea_41f0476e611e"},{"@type":"Assign","name":"moltiplicazione","id":"id_7e1c9e82_2252_4db4_8a36_24b107dedcf7","value":"maggiore*minore"},{"newline":true,"@type":"Output","id":"id_b60787d7_edfe_44cb_b80d_ce3b04bc463a","value":"\"il risultato della moltiplicazione è \" + moltiplicazione"},{"@type":"Assign","name":"somma","id":"id_4edb5ea9_892a_4c9c_9f60_a3a4ad612e5d","value":"x+y+z+a+b"},{"newline":true,"@type":"Output","id":"id_02c9c9e2_1a8f_433e_8662_4950e8ee454b","value":"\"il risultato della somma è \" + somma"},{"@type":"Return","id":"id_0753e18a_94d0_4d28_9f12_bc32891751dd","maybeValue":null}],"parameters":[]},"id":"id_5ddb2256_cb6d_4e32_84f5_7495d8466ff1","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":704}