by @FELICE COLUCCI Fork
{"functions":[],"name":"Area del rettangolo","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_9ecb3de1_838e_4bbc_bbc7_cf9a91e884a3"},{"@type":"Declare","tpe":"Real","name":"b","id":"id_7d68aeff_8f75_40fa_932c_754d104c6c52","initValue":null},{"@type":"Declare","tpe":"Real","name":"h","id":"id_31946118_b327_4b5d_9f19_68e198ccd1cf","initValue":null},{"@type":"Declare","tpe":"Real","name":"A","id":"id_ae298bec_d1bc_4f75_9bf8_2edd2cdb99e9","initValue":null},{"@type":"Input","name":"b","id":"id_cd712af1_754c_445e_8592_ea99fed75ec2","prompt":"Inserisci la base"},{"condition":"b<0","@type":"While","id":"id_d05490df_75e5_4810_b6a6_501932ae3d70","body":{"statements":[{"newline":true,"@type":"Output","id":"id_c2a1039b_64e5_4efd_9537_75b9125f9d56","value":"\"Errore: la base deve essere positiva\""},{"@type":"Input","name":"b","id":"id_edd28e88_737b_4aa4_a627_b165d3d5249d","prompt":"Inserisci la base"}],"id":"id_1bcc1bc3_f175_435c_940c_5515aeb0dd37"}},{"@type":"Input","name":"h","id":"id_3add5cbb_3b1d_42dc_838d_b216bfbf6d61","prompt":"Inserisci l'altezza"},{"condition":"h<0","@type":"While","id":"id_207e5d5d_875f_4d2d_8951_944a293accc6","body":{"statements":[{"newline":true,"@type":"Output","id":"id_a3289928_39fe_49ac_8f48_6c1d0cec0bf2","value":"\"Errore: l'altezza deve essere positiva\""},{"@type":"Input","name":"h","id":"id_e8389997_d959_45c2_a6fd_071926478252","prompt":"Inserisci il raggio"}],"id":"id_dfc31f03_d6fd_427f_8af7_4e9aa98447eb"}},{"@type":"Assign","name":"A","id":"id_5726b6ad_b4cb_4cda_99b2_cf924d4fa42a","value":"b*h"},{"newline":true,"@type":"Output","id":"id_a09c53ef_1cd6_4c60_88f6_dee086ac7410","value":"\"L'area del rettangolo รจ \" + A"},{"@type":"Return","id":"id_58a09262_b6ea_4188_bc5d_2549896d27b2","maybeValue":null}],"parameters":[]},"id":"id_e3b81699_f8ef_434f_8c27_760e8e3a2c6d","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":289}