by @MARIARITA TERRECUSO Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_605d44ce_73a2_422a_97d5_06542c46b249"},{"@type":"Declare","tpe":"Real","name":"A","id":"id_142b7794_2b7d_4d4a_85e3_fa894550246e","initValue":null},{"@type":"Declare","tpe":"Real","name":"b","id":"id_047eb40d_052f_4b3a_aa7e_3c35f535f524","initValue":null},{"@type":"Declare","tpe":"Real","name":"h","id":"id_5a476f34_3315_4567_834f_8596c3736db9","initValue":null},{"@type":"Input","name":"h","id":"id_2c88d339_5c39_4edc_95c0_9c60aa5b0c97","prompt":null},{"@type":"Input","name":"b","id":"id_4f7abc50_75bf_4c07_92d1_8045d813f85d","prompt":null},{"condition":"h<0","@type":"While","id":"id_cf7797e5_63c5_412f_ae87_339b39741b5e","body":{"statements":[{"newline":true,"@type":"Output","id":"id_b19ffa74_e938_4ccd_9a3b_5495e43c48e5","value":"\"Errore inserire altezza positiva\""},{"@type":"Input","name":"h","id":"id_5ec1927a_2183_415b_864d_bf1c41cccd2f","prompt":null}],"id":"id_f886d7f7_e84a_4d22_8181_e3db531af048"}},{"condition":"b<0","@type":"While","id":"id_b2bb5e89_af66_4cb3_b31b_f552ea1877af","body":{"statements":[{"newline":true,"@type":"Output","id":"id_639a3857_66da_4427_848c_a558c25d62ff","value":"\"Errore inserire base positiva\""},{"@type":"Input","name":"b","id":"id_4145bf52_7245_4397_9ab2_c63f548c011c","prompt":null}],"id":"id_ec40f0fb_db87_49af_9711_393ad491cf2c"}},{"@type":"Assign","name":"A","id":"id_e1f6ba83_8269_4867_921e_905bb90571d0","value":"b*h"},{"newline":true,"@type":"Output","id":"id_09398380_e7cd_4a53_a4a7_66e8a6dcbd6c","value":"A"},{"@type":"Return","id":"id_c514e928_d76a_49a5_914f_b0ebe83c3745","maybeValue":null}],"parameters":[]},"id":"id_e0730693_bd5a_4d24_a5bd_b759a1bf0384","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":170}