by @SATURNO GIUSEPPE Fork
{"functions":[],"name":"inverso","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_be60adc0_9566_4c34_ad8c_69c261c209db"},{"@type":"Declare","tpe":"Real","name":"numero","id":"id_25b7aa24_ddc8_4555_a102_ec6f45c5ef5f","initValue":null},{"@type":"Declare","tpe":"Real","name":"inverso","id":"id_5cd9d039_932c_49f3_9269_f548184e3f34","initValue":null},{"@type":"Input","name":"numero","id":"id_1ffbb399_9dd6_4e1f_a01c_4970370886d5","prompt":"inserisci un numero"},{"falseBlock":{"statements":[{"@type":"Assign","name":"inverso","id":"id_044921af_b490_48f4_af4b_828e243c9c75","value":"1/numero"},{"newline":true,"@type":"Output","id":"id_c8c7da07_1d15_4703_8b64_1831b79ad493","value":"inverso"}],"id":"id_85551a32_2a7f_4827_bb57_4389e3ed6867"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d305fc1e_f690_4ee5_85aa_56e963d791d4","value":"\"non si può dividere per zero\""}],"id":"id_6cef2991_1649_4887_935e_64320bc7d15b"},"condition":"numero==0","@type":"If","id":"id_d051793a_158d_4af9_8a73_b3677fd2bf96"},{"@type":"Return","id":"id_c080d10c_0090_4e49_b5df_a731b714a559","maybeValue":null}],"parameters":[]},"id":"id_3d477199_cfa9_47c7_950e_2f088865b01d","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"javascript","showGenCode":true},"version":"0.2","revision":233}