by @MATTIA DELBENE Fork
{"functions":[],"name":"Oscar","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_d75c258f_91dd_4973_86e2_4a9ef05caf79"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"attore1","lengthValue2":"5","id":"id_6b68d77c_1b71_49a3_9cf0_8b270a5bf171","initValue":"\"attore1\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"attore2","lengthValue2":"5","id":"id_3ae86e05_fd06_4b5e_954c_21a9927dc083","initValue":"\"attore2\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"attore3","lengthValue2":"5","id":"id_99cb35e5_663c_43f6_880e_8f6d810d9362","initValue":"\"attore3\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"attore4","lengthValue2":"5","id":"id_7d2d5537_c25f_4ee2_9e0e_4bff670e3efa","initValue":"\"attore4\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"attore5","lengthValue2":"5","id":"id_1027dc18_d8cc_4681_b245_88bd5facbdf5","initValue":"\"attore5\""},{"newline":true,"@type":"Output","id":"id_34343875_4fac_4ae2_856b_bda0b79417cf","value":"\"Inserisci il primo candidato\""},{"@type":"Input","name":"attore1","id":"id_1564baa5_181d_4154_b8c8_d20a862d4d5a","prompt":null},{"newline":true,"@type":"Output","id":"id_30136d13_7ac8_4c4c_a465_4453b8f34ef7","value":"\"Inserisci il secondo candidato\""},{"@type":"Input","name":"attore2","id":"id_0105461f_0c69_43d1_b4a1_c031e5383764","prompt":null},{"newline":true,"@type":"Output","id":"id_18184f73_e5fd_4088_bb52_ad738f828b0a","value":"\"Inserisci il terzo candidato\""},{"@type":"Input","name":"attore3","id":"id_9b1b0bc2_3ca2_4b33_a588_5a55d98f9975","prompt":null},{"newline":true,"@type":"Output","id":"id_9e0ee133_af5c_4950_b5ce_c369d83d2033","value":"\"Inserisci il quarto candidato\""},{"@type":"Input","name":"attore4","id":"id_b4b5bb8c_73b8_4578_ad30_06dc50f75479","prompt":null},{"newline":true,"@type":"Output","id":"id_e21e5a1e_53f2_4aba_813e_52db7447389f","value":"\"Inserisci il quinto candidato\""},{"@type":"Input","name":"attore5","id":"id_ccf86571_f61a_405f_90d4_46238f00551e","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"votiAttore1","lengthValue2":"5","id":"id_d29f6fec_e9cd_4ec1_9e02_612077a8ba4b","initValue":"randomInt(1000)"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"votiAttore2","lengthValue2":"5","id":"id_8162afb9_5f85_42bd_8df9_5e9891fdf9f5","initValue":"randomInt(1000)"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"votiAttore3","lengthValue2":"5","id":"id_c577d3a1_7082_45ed_87c9_c6d1e80906f3","initValue":"randomInt(1000)"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"votiAttore4","lengthValue2":"5","id":"id_0a788aa7_ca82_4d35_9b67_796a3e4416a9","initValue":"randomInt(1000)"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"votiAttore5","lengthValue2":"5","id":"id_be5a2a4f_2169_465e_a0f8_54a9b0fa394c","initValue":"randomInt(1000)"},{"newline":true,"@type":"Output","id":"id_c06c1a6b_3319_4bf0_99ea_ffe21d954669","value":"attore1 + \" ha ottenuto \" + votiAttore1 + \" voti dall'academy\""},{"newline":true,"@type":"Output","id":"id_8543322f_8b02_4ac0_bff7_ca444b0296e2","value":"attore2+ \" ha ottenuto \" + votiAttore2 + \" voti dall'academy\""},{"newline":true,"@type":"Output","id":"id_23c3c1be_8dbf_42f7_8016_0672111b3a6a","value":"attore3 + \" ha ottenuto \" + votiAttore3 + \" voti dall'academy\""},{"newline":true,"@type":"Output","id":"id_ffbc4b3e_7aa2_4315_ab0d_b561cb70daec","value":"attore4 + \" ha ottenuto \" + votiAttore4 + \" voti dall'academy\""},{"newline":true,"@type":"Output","id":"id_b48f5c93_a55b_4104_814b_e7e3ea4f9fed","value":"attore5 + \" ha ottenuto \" + votiAttore5 + \" voti dall'academy\""},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_b2bbd2f0_bd74_41f9_8af7_5ddf86db2344","value":"\"La votazione รจ da rifare\""}],"id":"id_99ef1cea_6408_4d5a_a183_61edab31714e"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_db86abff_a357_4c51_b04b_db4fced203bf","value":"\"L'oscar va a \" + attore5"}],"id":"id_46f46aa9_b7d1_4d0f_afc8_f4c00d60d97a"},"condition":"votiAttore5>votiAttore1 && votiAttore5>votiAttore2 && votiAttore5>votiAttore3 && votiAttore5>votiAttore4","@type":"If","id":"id_f7b6117b_693b_4283_aaf6_95502677047e"}],"id":"id_62c8e123_539f_4d02_9267_1b4054dce25b"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_1b631bf6_e8dd_4a07_849d_9da83bdab8b4","value":"\"L'oscar va a \" + attore4"}],"id":"id_a1b973ba_bf21_4306_9992_e293675f6bf1"},"condition":"votiAttore4>votiAttore1 && votiAttore4>votiAttore2 && votiAttore4>votiAttore3 && votiAttore4>votiAttore5","@type":"If","id":"id_abc6e05d_f22e_4602_b3eb_9c6e4f2924e1"}],"id":"id_5c58b84c_a506_4bda_bc8a_fa82f59d4a3a"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_7d5d82ba_d755_4450_8510_e3d5cc8c159a","value":"\"L'oscar va a \" + attore3"}],"id":"id_a1a091a7_1ad7_46fa_b49f_f51a07f2a00a"},"condition":"votiAttore3>votiAttore1 && votiAttore3>votiAttore2 && votiAttore3>votiAttore4 && votiAttore3>votiAttore5","@type":"If","id":"id_871196c8_6c0c_43e6_817d_1eea8c8d5f9c"}],"id":"id_a9748450_07cd_487c_8a46_15e27acd38ed"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_ed0b0edb_f9ee_4d10_9fe9_2335db212066","value":"\"L'oscar va a \" + attore2"}],"id":"id_e5920916_ec39_47ae_a7d3_d6402257d608"},"condition":"votiAttore2>votiAttore1 && votiAttore2>votiAttore3 && votiAttore2>votiAttore4 && votiAttore2>votiAttore5","@type":"If","id":"id_2ac08133_887a_4570_9578_0516f6d1e6b9"}],"id":"id_94dc8ce9_d6d1_48aa_a7b8_dbc0c581c44c"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_8052f6dc_9fc3_4f91_8616_94901a2e4f65","value":"\"L'oscar va a \" + attore1"}],"id":"id_1c4632d7_4327_41b2_830d_b716b671acbc"},"condition":"votiAttore1>votiAttore2 && votiAttore1>votiAttore3 && votiAttore1>votiAttore4 && votiAttore1>votiAttore5","@type":"If","id":"id_6dbea78f_9fff_4a7f_ab8e_0ff200877893"},{"@type":"Return","id":"id_f7f86873_8501_4303_a7b6_f733d21be877","maybeValue":null}],"parameters":[]},"id":"id_8595840e_0caf_4b6f_bdf7_bdb15e4daf80","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":1330}