by @SARA SIBILIO Fork
{"functions":[],"name":"Area rettangolo","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_2a3f29d2_c893_49a9_b77b_c254524ad5ca"},{"@type":"Declare","tpe":"Real","name":"A","id":"id_34ed3cb0_c197_4679_a447_b0557373ba1a","initValue":null},{"@type":"Declare","tpe":"Real","name":"b","id":"id_3c23e03b_d2d1_479b_b477_bbe7d4811bc5","initValue":null},{"@type":"Input","name":"b","id":"id_61b8c17a_c4f8_43dd_a1bb_a6af15ae0234","prompt":null},{"condition":"b<0","@type":"While","id":"id_1e11f516_b647_4b00_885b_4386b87f3267","body":{"statements":[{"newline":true,"@type":"Output","id":"id_13c6ed89_5ac6_475f_9fd9_48b4126b23bb","value":"\"Errore inserisci una base non negativa\""},{"@type":"Input","name":"b","id":"id_4f7d632f_3fde_4f96_bc23_90d750815fcf","prompt":null}],"id":"id_a4459614_1f1c_4b92_ba8a_cde76ab18ee0"}},{"@type":"Declare","tpe":"Real","name":"h","id":"id_7e598065_dc00_40af_a922_f103c7d00d8e","initValue":null},{"@type":"Input","name":"h","id":"id_f9b427a6_0775_44e9_bf07_121b013c48fb","prompt":null},{"condition":"h<0","@type":"While","id":"id_2cd5ce47_89e7_47dd_b492_5359de694efd","body":{"statements":[{"newline":true,"@type":"Output","id":"id_be9754bf_bbf0_4cfe_a8ef_2cd169714661","value":"\"Inserisci un'altezza non negativa\""},{"@type":"Input","name":"h","id":"id_f81bca5c_31b1_4879_b5f2_9446bba673ed","prompt":null}],"id":"id_5baa8e40_dc54_41b9_a046_7065eb3d3b29"}},{"@type":"Assign","name":"A","id":"id_5640e660_d2e9_40f7_a4b6_17c97564578e","value":"b*h"},{"newline":true,"@type":"Output","id":"id_cf382e3f_0699_4a20_9e23_50967a847446","value":"A"},{"@type":"Return","id":"id_caad83c3_dbd1_468b_905f_ccf79dd306a5","maybeValue":null}],"parameters":[]},"id":"id_9c33928c_34bf_4159_9ec1_55be471c83e8","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":267}