by @BOFFA ANTONIO Fork
{"functions":[],"name":"fatturato aziendale","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_03eb3135_e4c0_476e_85aa_3686b7905d9a"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"contatore","lengthValue2":"5","id":"id_93c6e6b9_d01d_474b_b1fb_7b90faca51ea","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"nmesi","lengthValue2":"5","id":"id_32e6b191_a66e_4cfc_a407_89d84e2b272c","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"fatturatomensile","lengthValue2":"5","id":"id_ce7bbab5_3c16_4f2f_af6a_cbe35a42da1d","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"maxfatturato","lengthValue2":"5","id":"id_49484f0c_07a4_4e59_ab9a_cfb1e4351ce1","initValue":"0"},{"@type":"Input","name":"nmesi","id":"id_bdc05679_6e46_4f0f_b0b5_8533c33c4f31","prompt":"\"inserisci il numero di mesi\""},{"varName":"contatore","incr":"1","@type":"ForLoop","start":"1","end":"nmesi","id":"id_9baa8f3d_4c10_499e_beae_5d97cafb288d","body":{"statements":[{"@type":"Input","name":"fatturatomensile","id":"id_ebc5e0f8_9c3f_41ff_b1e8_5bb2c3f15e36","prompt":"\"inserisci il fatturato mensile\""},{"falseBlock":{"statements":[],"id":"id_0d4d5c06_0ec3_4c01_8585_ab1fc8907a38"},"trueBlock":{"statements":[{"@type":"Assign","name":"maxfatturato","id":"id_39d1fa57_ffac_4ab1_a4c5_fa9eedeb63ca","value":"fatturatomensile"}],"id":"id_7bdc8258_4d02_47dc_ace8_df3de04318fd"},"condition":"fatturatomensile>maxfatturato","@type":"If","id":"id_91ea8ac3_481b_4fa8_90ba_8ab2bcdce82c"}],"id":"id_1bf736e0_753a_45cb_9d7b_c6ae92ba3e89"}},{"newline":true,"@type":"Output","id":"id_434379d3_06c7_4795_b6c0_68a878790fb3","value":"\"la fattura più alta ammonta a\"+maxfatturato"},{"@type":"Return","id":"id_be5c6c08_d854_40c0_bcc1_1d00791ef8af","maybeValue":null}],"parameters":[]},"id":"id_807f108a_836f_4d5e_9e3c_6381ecd4e19f","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":386}