by @Marcus Kauã Monteiro Rabelo Fork
{"functions":[],"name":"Retângulo melhorado","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_de128e1e_4717_4bab_9d57_38569083d2d1"},{"newline":true,"@type":"Output","id":"id_e2e6a361_c1b7_4a37_a76e_521f35c45a14","value":"\"Informe largura e comprimento\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Largura","lengthValue2":"5","id":"id_79d68c69_95cb_4118_8853_53c0be8ddade","initValue":null},{"@type":"Input","name":"Largura","id":"id_6c45b46e_17f6_4de8_9e34_ce276ca1b9e7","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Comprimento","lengthValue2":"5","id":"id_172d7154_2a2a_4f17_b9cd_eb14eae19518","initValue":null},{"@type":"Input","name":"Comprimento","id":"id_b48f95a0_6d0a_4b81_9cc0_1c8657838a95","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_4e89de79_f997_44c3_b0b2_1d967b6d883b","value":"\"Não pode haver largura negativa\""}],"id":"id_a6c1ee9e_f71e_4621_a07d_d12c8afc62cb"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_db5b4c26_ccc5_4b40_bdd6_b4db80f055a6","value":"\"Não pode haver comprimento negativo\""}],"id":"id_d5fdf05d_3180_45a1_8500_489bcc87ed00"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_7a79a401_4d3d_42bc_b8bf_b436d32619c1","value":"\"Area = \" + (Largura*Comprimento) + \"m^2\""}],"id":"id_a91f2524_f3d7_4067_b3fa_2cbe532f7258"},"condition":"Comprimento > 0","@type":"If","id":"id_05a84b3a_e4af_43ab_bc5e_303be83ba827"}],"id":"id_22d44762_3ab1_4c10_abee_0f39078aec9f"},"condition":"Largura > 0","@type":"If","id":"id_091e12f9_17af_4cc9_90e7_70297bcdeea4"},{"@type":"Return","id":"id_b7af745b_8c5d_4c9b_a210_528e32425e04","maybeValue":null}],"parameters":[]},"id":"id_324925f0_6451_4d7b_8e50_b0ae8215b44f","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":373}