by @RUBEN ALEJANDRO ROBALINO CALDERON Fork
{"functions":[],"name":"Estructura repetitiva-Ruben","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_02ada69c_66a6_470a_adf2_ceaa10d5ad53"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"intento","lengthValue2":"5","id":"id_4a8fd1fa_4017_4554_a16e_48f464c74fb2","initValue":"-1"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"numerosecreto","lengthValue2":"5","id":"id_3647cad4_c507_4350_bf59_7a101530e31b","initValue":"0"},{"@type":"Assign","name":"numerosecreto","id":"id_d554b09d_401c_486c_9472_e4bb45539cb8","value":"randomInt(20)"},{"condition":"intento != numerosecreto","@type":"While","id":"id_41c9f122_8338_4ca1_ab7c_30d500041cef","body":{"statements":[{"newline":true,"@type":"Output","id":"id_8f691003_cd45_4250_9589_bb6509088b0f","value":"\"Ingrese un numero del 0 al 20: \""},{"@type":"Input","name":"intento","id":"id_6a185af7_eb87_4d38_9142_58bd01c3bb56","prompt":null},{"newline":true,"@type":"Output","id":"id_a0ba6eb2_7406_4dc6_b731_b1cec732561f","value":"\"Su intento: \" + intento"},{"falseBlock":{"statements":[{"falseBlock":{"statements":[],"id":"id_188ca0cb_93e7_47ec_8674_e85feedfb457"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_1b9e573f_2906_4b55_9384_c395ad73c220","value":"\"El numero es mayor que: \" + intento"}],"id":"id_41d0746b_0466_4821_8746_bf386f82e4f9"},"condition":"intento < numerosecreto","@type":"If","id":"id_95d20cab_533e_4990_b1ef_a4a55f4431ac"}],"id":"id_3f1abf1f_009b_4b81_8c68_9ae3e30c76da"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c8888472_9eeb_4de0_a278_eab4cc96d91a","value":"\"El numero es menor que: \" + intento"}],"id":"id_f792b628_c299_4494_9568_5b9a148ce373"},"condition":"intento > numerosecreto","@type":"If","id":"id_1635b9e1_7ff3_4e5a_9e1d_f7ffa2f261f7"}],"id":"id_8cf28e03_74d3_4748_b3f0_dcb4bdc7fa5a"}},{"newline":true,"@type":"Output","id":"id_e99c8eca_b842_4ae9_ae33_a194c7aab81b","value":"\"Ganaste!\""},{"@type":"Return","id":"id_945eac6e_f2c2_4477_aebb_e59124f36d8f","maybeValue":null}],"parameters":[]},"id":"id_bdf31fe1_8eee_4241_9186_b599106baab8","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":708}