by @TOMMASO CRESCENTINI Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_f41cb383_9647_485b_82fe_20099e4ca8b8"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"somma","lengthValue2":"5","id":"id_39a5bbb4_c78e_49bc_9fad_fb0bf673a43e","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"voto1","lengthValue2":"5","id":"id_f4bd22ae_d414_4e39_a44a_7b096e50a377","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"voto2","lengthValue2":"5","id":"id_9972094b_9cb4_41e0_808d_48b14db807bb","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"voto3","lengthValue2":"5","id":"id_28c91c8c_8911_49b8_aed4_62596c39916c","initValue":null},{"@type":"Assign","name":"somma","id":"id_e1657ec9_6f3c_463c_a93f_69660ad68ac7","value":"0"},{"@type":"Input","name":"voto1","id":"id_bfacf1df_5ef8_4120_91ac_9c7a7833d400","prompt":null},{"condition":"voto1<1 || voto1>10","@type":"While","id":"id_4998a17c_5b16_4227_a139_090db6198eec","body":{"statements":[{"@type":"Input","name":"voto1","id":"id_b4b53e66_9590_4ca5_9260_ccbf749ac004","prompt":null}],"id":"id_faca417d_3b91_45dd_9fa8_87894b32cda4"}},{"@type":"Assign","name":"somma","id":"id_3933fa9f_6173_482f_8528_bad94f839a0a","value":"somma+voto1"},{"@type":"Input","name":"voto2","id":"id_46e4bca2_ae00_4f3e_b008_6775409db9cc","prompt":null},{"condition":"voto2<1 || voto2>10","@type":"While","id":"id_f460df9d_f8e1_4738_bfc3_37d1b21771a6","body":{"statements":[{"@type":"Input","name":"voto2","id":"id_8ec0b954_36ad_46da_ac19_7f91df4eb92b","prompt":null}],"id":"id_b430602a_068e_4e25_b02a_4e4c03206c5f"}},{"@type":"Assign","name":"somma","id":"id_e5ea65c0_c9d2_4c61_9620_2cfd1afb98b5","value":"somma+voto2"},{"@type":"Input","name":"voto3","id":"id_ceaaaa65_ee4c_4bd6_965a_4a0e353a54b4","prompt":null},{"condition":"voto3<1 || voto3>10","@type":"While","id":"id_c6a2f23f_dba7_4268_bae2_7fe382c919d9","body":{"statements":[{"@type":"Input","name":"voto3","id":"id_96372d53_6d07_4c2d_b00d_d54e85a0e4b8","prompt":null}],"id":"id_4777dc0f_f3e4_4878_a969_4bbf72824f78"}},{"@type":"Assign","name":"somma","id":"id_ac4e498b_ee64_4236_ac1c_6a8cf27c5919","value":"somma+voto3"},{"newline":true,"@type":"Output","id":"id_43685ba0_9b2a_4fab_8b9a_5f5252273b48","value":"\"la media รจ \"+somma/3"},{"@type":"Return","id":"id_23209c19_478c_4422_a214_8b845dba8a48","maybeValue":null}],"parameters":[]},"id":"id_9f9a9443_2dd9_4147_ad8a_638c4829af4e","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":335}