by @Luca Di Lorenzo Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_8fa0c257_9cde_413c_8312_29887af0935e"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"numero","lengthValue2":"5","id":"id_4e47a6ba_9c72_43e8_bc1a_34e16495f912","initValue":null},{"newline":true,"@type":"Output","id":"id_35f4c6a1_f0d3_46cc_87e2_f240b8187552","value":"\"inserisci un numero positivo\""},{"@type":"Input","name":"numero","id":"id_6a75b3bf_e9b5_4ea3_9e16_454975e2ff08","prompt":null},{"condition":"numero<0","@type":"While","id":"id_e19ff2cb_dbb4_485d_89dc_3ddb2de7f891","body":{"statements":[{"newline":true,"@type":"Output","id":"id_956f36e7_c09e_4c6c_87bf_7f31f44cb592","value":"\"hai inserito un valore non valido. riprova\""},{"@type":"Input","name":"numero","id":"id_3a9610d4_5fc8_46a3_958e_162e2bbd0cec","prompt":null}],"id":"id_914aeebd_ce27_4bec_bd5f_caf921822ef4"}},{"newline":true,"@type":"Output","id":"id_fc683ce1_3f92_41ec_9a0b_39f5e13956bc","value":"\"bene\""},{"@type":"Return","id":"id_47a6dde5_50d2_4151_82c2_838a15c218e8","maybeValue":null}],"parameters":[]},"id":"id_f03c209d_8517_4e88_8ef6_ffda19ffd6fa","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":170}