{"functions":[],"name":"hospitall","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_c1cbaf7d_fb72_4aaf_a95b_ba96000e28cb"},{"@type":"Declare","tpe":"Integer","name":"n","id":"id_b720f11c_662c_4272_9033_a4dbd201ea26","initValue":"0"},{"@type":"Input","name":"n","id":"id_c4bc5cfb_8365_4154_a521_88da29d71cec","prompt":null},{"@type":"Declare","tpe":"Integer","name":"treated","id":"id_a616c517_92c3_41c8_9620_874a4ee9d9d5","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"untreated","id":"id_c4b43f3f_0400_4d7b_a63b_949cd6f8a465","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_2e6d38c1_d2dc_4c31_83b8_69a67defc5d0","initValue":null},{"@type":"Declare","tpe":"Integer","name":"doctor","id":"id_1993ac93_6ba4_406a_b7b3_09f791949b85","initValue":"7"},{"varName":"i","incr":"1","@type":"ForLoop","start":"1","end":"n","id":"id_8fb485d5_bfc8_4f36_b136_66d24b4456b5","body":{"statements":[{"@type":"Input","name":"x","id":"id_51e75bfb_41ba_4de3_9fc8_47f1addae4d2","prompt":"jumlah pasien hari ini"},{"falseBlock":{"statements":[{"@type":"Assign","name":"treated","id":"id_cc28ff7e_7c74_4874_a6d6_5077d8d54256","value":"treated+dokter"},{"@type":"Assign","name":"untreated","id":"id_f8da46fd_66b7_41c6_8da8_9690a9eecb63","value":"untreated+(x-dokter)"}],"id":"id_e6a3d04c_c8f6_433f_8dce_9b280b81c9af"},"trueBlock":{"statements":[{"@type":"Assign","name":"treated","id":"id_81b99e90_3ce1_4904_b346_917574105cae","value":"treated+x"}],"id":"id_09929a82_8598_4d63_b19c_48e837769b7a"},"condition":"doctor>=x","@type":"If","id":"id_a5e13968_9214_4384_8cc5_04bd1b9f80c8"}],"id":"id_085db925_6f7a_4fd4_b173_177b557c9ea1"}},{"@type":"Return","id":"id_1798706f_c45e_4d2c_a954_eb11e9965295","maybeValue":null}],"parameters":[]},"id":"id_16c4e05e_e66a_46a9_8529_8935abdb808e","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":247}