by @mariana carvalho Fork
{"functions":[],"name":"fila chek-in","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_4e9c98f3_f849_4790_b015_36c3e8bd50d8"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"atendidos","lengthValue2":"5","id":"id_67135160_2e9e_4213_b170_5d5a9455590f","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"hospedes","lengthValue2":"5","id":"id_beef913e_0eff_4814_b4ac_650f71ba8244","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"continuar","lengthValue2":"5","id":"id_611b2469_33b4_457f_a866_303e5c9e1b51","initValue":"\"s\""},{"condition":"continuar == \"s\"","@type":"While","id":"id_a38645fc_c902_4ea2_8f2f_8891990bc707","body":{"statements":[{"newline":true,"@type":"Output","id":"id_a2dd76e5_c216_4636_8e3f_730e8148d447","value":"\"Quantos hóspedes?\""},{"@type":"Input","name":"hospedes","id":"id_06c12fd4_76da_4b16_95cb_f46ddb474677","prompt":null},{"@type":"Assign","name":"atendidos","id":"id_9efe642b_a948_4be5_a463_1aff58b714f2","value":"atendidos + hospedes"},{"newline":true,"@type":"Output","id":"id_3f58810b_d757_4c7e_9a16_7f91c8ec264e","value":"\"Mais hóspedes ? (s/n)\""},{"@type":"Input","name":"continuar","id":"id_2195f122_7c1f_4349_bd1e_055aace70972","prompt":null}],"id":"id_f117dc63_ad62_4d52_9b08_a3ac223159ab"}},{"newline":true,"@type":"Output","id":"id_915e54fb_8649_4ef3_b275_348faba03ff4","value":"\"Total de hóspedes atendidos:\" + atendidos"},{"@type":"Return","id":"id_bbe3b03b_1697_4518_9073_9e62c1b55b94","maybeValue":null}],"parameters":[]},"id":"id_5bbd34c3_88ee_4e2f_9d6e_303098c7eb76","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":488}