by @Gabriel Spinola Fork
{"functions":[],"name":"Orçamento das férias","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_fb83f769_3e97_4a3f_92b7_9283a9f24ac0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"orcamento","lengthValue2":"5","id":"id_00f26d3d_5288_4659_b963_c7bd8358112a","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"gasto","lengthValue2":"5","id":"id_1f144813_ed81_4f64_bd9f_85a510544d8f","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"dias","lengthValue2":"5","id":"id_04a14560_32f1_4afc_b6a0_69aab469d58e","initValue":"0"},{"newline":true,"@type":"Output","id":"id_b6587324_46b6_48f3_9385_20d6008837f8","value":"\"Valor do orçamento \""},{"@type":"Input","name":"orcamento","id":"id_3cb3dd2d_7c2b_4e25_825b_6727b6408479","prompt":null},{"condition":"orcamento > 0","@type":"While","id":"id_c4e53f21_2276_4863_a573_faa4baf52d2f","body":{"statements":[{"@type":"Assign","name":"dias","id":"id_a60c8c21_cf05_4318_b11e_e2f590bfed05","value":"dias+1"},{"newline":true,"@type":"Output","id":"id_e1a2aa7c_7301_4d64_afc4_07e409cf6ad1","value":"\"Gasto? \""},{"@type":"Input","name":"gasto","id":"id_672cdd58_430c_4829_9616_1dcf1003ffcc","prompt":null},{"@type":"Assign","name":"orcamento","id":"id_ddb0b1bf_b7f2_4cad_9572_a94acb525f4b","value":"orcamento-gasto"}],"id":"id_e89d515a_0de9_4ff0_aefd_c6d26514f787"}},{"newline":true,"@type":"Output","id":"id_89f6faea_9b30_44e6_a462_b9794f341698","value":"\"O orçamento durou \"+dias +\" dias\""},{"newline":true,"@type":"Output","id":"id_9f4cd6c8_c8ef_453a_ac18_639a51210fe4","value":"\"Saldo final \" +orcamento"},{"@type":"Return","id":"id_2462b693_8e14_487c_a8e9_dfe343550324","maybeValue":null}],"parameters":[]},"id":"id_f5830731_9f43_4f5a_af7a_b52b17a1a474","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":196}