by @Gonçalo Ferreira Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_919eb89c_a023_4769_a1ad_fede4b4f60ff"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"atendidos","lengthValue2":"5","id":"id_2248afc3_9af5_463d_a591_cc4f955b70d0","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"hospedes","lengthValue2":"5","id":"id_b0e13c42_71ef_417b_ac4f_30cf626c9ead","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"continuar","lengthValue2":"5","id":"id_84c1e790_62db_45b5_841a_e35dc08ab0ed","initValue":"\"s\""},{"condition":"continuar== \"s\"","@type":"While","id":"id_6147af06_6a2f_4b0d_a428_c3ccc2fcf5f4","body":{"statements":[{"newline":true,"@type":"Output","id":"id_71d5123a_176d_4a63_90ec_7ebe80fc74dc","value":"\"quantos hospedes?\""},{"@type":"Input","name":"hospedes","id":"id_5d200dce_42c4_44b8_afb7_eb2b991e485c","prompt":null},{"@type":"Assign","name":"atendidos","id":"id_7a1ef122_49ec_4b57_8abd_4c060e1db33b","value":"atendidos + hospedes"},{"newline":true,"@type":"Output","id":"id_624a35d5_f54e_4de1_90ee_8bba0992dac1","value":"\"quer receber mais hospedes (s/n)\""},{"@type":"Input","name":"continuar","id":"id_bed48351_f1e1_493a_9b98_ccd9f2d6a811","prompt":null}],"id":"id_6c2cb2d6_c527_4222_94f1_fe389720e94a"}},{"newline":true,"@type":"Output","id":"id_9775d6ac_7e99_464f_bc0f_b8fd9a0c102a","value":"\"Total de hospedes atendidos: \" + atendidos"},{"@type":"Return","id":"id_6792be90_777a_40b2_a8bb_a94c43814eae","maybeValue":null}],"parameters":[]},"id":"id_1a3b610d_b9f7_4a1f_81ca_93b919d5afd9","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":301}