by @Pedro Ribeiro Fork
{"functions":[],"name":"5.4","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_1f9d55bb_79cc_4b15_90c7_feb1ca137b4e"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"atendidos","lengthValue2":"5","id":"id_27e1f03e_c1f7_4a26_85cf_ffa935f21ee6","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"continuar","lengthValue2":"5","id":"id_9da5a86e_a181_4d41_b96e_d548e7aaaa16","initValue":"\"s\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"hospedes","lengthValue2":"5","id":"id_1611e81f_929c_4b6b_8bcd_3ee296cb7d46","initValue":"0"},{"condition":"continuar==\"s\"","@type":"While","id":"id_ee09be9f_384c_4c76_9401_0d74bd2d7089","body":{"statements":[{"newline":true,"@type":"Output","id":"id_f4cf2ff8_617f_4ac8_bf98_855746d61afe","value":"\"quantos hospedes?\""},{"@type":"Input","name":"hospedes","id":"id_9daf3303_f7fd_48f5_a459_f434a376f7bb","prompt":null},{"@type":"Assign","name":"atendidos","id":"id_b98c0416_168c_4a03_913d_72489e642d86","value":"atendidos + hospedes"},{"newline":true,"@type":"Output","id":"id_f2c0a39e_3af7_498e_bf8b_5283ca46376f","value":"\"Mais hospedes? (s/n)\""},{"@type":"Input","name":"continuar","id":"id_ab798ef9_5e7e_4158_a032_cee88fab4555","prompt":null}],"id":"id_642c4a80_08d1_4260_bee7_11b09909560d"}},{"newline":true,"@type":"Output","id":"id_d2d64b96_394f_45ab_bbd1_27476faa3187","value":"\"Total de hospedes atendidos: \" + atendidos"},{"@type":"Return","id":"id_eae5f942_0af7_456b_88c6_cba9aa5ef7ed","maybeValue":null}],"parameters":[]},"id":"id_bee2e0f2_c47d_4f41_a220_992dec06e1d8","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":452}