by @LUKAS ALONSO GONZALEZ ROJAS Fork
{"functions":[],"name":"5)","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_bdd1b970_6e83_4668_a166_dc150c806d9d"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"8","tpe":"IntegerArray","name":"x","lengthValue2":"5","id":"id_85c1bb9c_d2b0_4204_a660_f0368cf80fd9","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"contador","lengthValue2":"5","id":"id_8126a098_30f2_48e5_847c_6a4061e5df49","initValue":"0"},{"varName":"i","incr":"1","@type":"ForLoop","start":"0","end":"7","id":"id_7234fb77_2378_46ee_aa8d_8d1cc54494a6","body":{"statements":[{"@type":"Input","name":"x[i]","id":"id_7770e995_ba61_4646_a678_d30d751ef720","prompt":null},{"falseBlock":{"statements":[],"id":"id_0a7edc3c_310f_4aa3_ab4f_d4a85b451f3d"},"trueBlock":{"statements":[{"@type":"Assign","name":"contador","id":"id_2e49aaa9_a0a1_4341_b083_6bae68f78654","value":"contador+1"}],"id":"id_1c751da3_885d_4ccb_8eab_3e5c7720390d"},"condition":"x[i]==0","@type":"If","id":"id_fd7b5545_f448_4a52_8f3e_1f22820f6aad"}],"id":"id_c9e105c4_db3c_468d_8fb8_086f5923121c"}},{"newline":true,"@type":"Output","id":"id_a7f29109_8399_4f83_9b75_df6039cdabd5","value":"\"Hay \"+contador+\" ceros\""},{"@type":"Return","id":"id_e2891ab6_9767_419c_b4d8_9907c1d1f2ac","maybeValue":null}],"parameters":[]},"id":"id_887923a7_4138_4c8d_8de1_737fcf775b5e","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":179}