{"functions":[],"name":"Exerc. 5.3","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_ff2d777c_59f6_4368_814d_688a804b74b4"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"lugares","lengthValue2":"5","id":"id_c456dbee_fd3a_4ee4_bb9d_b3d4ff1bffbf","initValue":"20"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"bilhetes","lengthValue2":"5","id":"id_7f3b2394_e23c_4739_b6f6_7c54bb0f4fca","initValue":null},{"newline":true,"@type":"Output","id":"id_4a70d649_02f4_4d31_a756_5222bc57f7bd","value":"\"Quantos bilhetes quer ?\""},{"@type":"Input","name":"bilhetes","id":"id_39507064_d371_4966_8f62_e7d139158565","prompt":null},{"condition":"lugares > 0","@type":"While","id":"id_ee58fa19_6c54_4984_b592_6eece13b6e8f","body":{"statements":[{"newline":true,"@type":"Output","id":"id_88d016d2_2508_452d_81bf_daab178375a2","value":"\"Quantos bilhetes comprou ?\""},{"@type":"Input","name":"bilhetes","id":"id_118a8019_ab6f_453b_a02b_705076de50d5","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_8a88268a_5af3_4aad_8113_487c6fd3807a","value":"\"Só restam \" + lugares + \" lugares\""}],"id":"id_f2bd4f19_838d_4883_9abf_247190cfb11f"},"trueBlock":{"statements":[{"@type":"Assign","name":"lugares","id":"id_d4b6d3d5_b0da_4160_9454_53e305220848","value":"lugares - bilhetes"},{"newline":true,"@type":"Output","id":"id_1c324ed7_1042_41c3_86b0_fb03af2a9fd8","value":"\"Restam \" + lugares + \" lugares\""}],"id":"id_1c571a39_14d5_46a3_b480_3c03e34f4658"},"condition":"bilhetes <= lugares","@type":"If","id":"id_1dcef185_2ccb_45d4_bbfd_8a0ddfae8c17"}],"id":"id_8aed05c1_fb9c_4b8a_86be_855df4db1c0f"}},{"newline":true,"@type":"Output","id":"id_022bd457_4a7d_4db9_a7cf_f71153407df2","value":"\"\""},{"@type":"Return","id":"id_e2ef0a18_8ab8_4667_80dc_8f48188c45ce","maybeValue":null}],"parameters":[]},"id":"id_2501d8d2_c50e_4872_a815_1e1a1facd00c","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":321}