{"functions":[],"name":"Lab3_p1","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_42728384_5d63_4deb_9320_6cd574361ad7"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Pincorrecto","lengthValue2":"5","id":"id_9366d128_35bb_4cbc_af18_9841f938482e","initValue":"1234"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Intentos","lengthValue2":"5","id":"id_aa764489_8fc3_4b04_9dca_147ac6ea94cb","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Boolean","name":"Aceptado","lengthValue2":"5","id":"id_08297888_a198_48df_bed1_4b01c2e913cd","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"maxintentos","lengthValue2":"5","id":"id_e7d61d51_1560_4799_8c26_ec503f883da1","initValue":"3"},{"condition":"intentos < maxintentos AND aceptado=False","@type":"While","id":"id_89b454b0_2aa6_496b_aa6a_ecf1b2e1b084","body":{"statements":[{"@type":"Input","name":"Ingrese su PIN","id":"id_9f51bbb0_c780_44f8_90a4_eba889870266","prompt":null},{"falseBlock":{"statements":[{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"intentos","lengthValue2":"5","id":"id_8b614b5c_3862_42e3_b664_9adfaf0cf15a","initValue":"intentos + 1"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_6d995ce5_2145_4804_8cc6_b5461c913d30","value":"\"Pin incorrecto, intenta de nuevo\""}],"id":"id_19e0facc_cf86_4d84_9287_740ed082752f"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_2be9ee0f_fdc7_43df_abb1_57b65fcb0fcd","value":"\"tarjeta bloqueada\""}],"id":"id_afb33168_f034_46b1_a9d5_89d0bce6e55d"},"condition":"intentos == maxintentos","@type":"If","id":"id_f4ea6955_f24e_4c82_adca_49d9b6a8d37f"}],"id":"id_7c34bdb8_fc37_4049_b693_f41cf8d94ad6"},"trueBlock":{"statements":[{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Boolean","name":"Aceptado","lengthValue2":"5","id":"id_54db78d4_b30d_43b1_9fb7_a015071277a4","initValue":"True"},{"newline":true,"@type":"Output","id":"id_e066b981_7e78_46fe_8e9c_1bee0d76cbaf","value":"\"Su PIN es correcto\""}],"id":"id_b66d63cc_5e86_4c13_865f_f7f9583d5d9f"},"condition":"pin == Pincorrecto","@type":"If","id":"id_eccd4c31_c91a_42e9_a55b_a154df0b55e6"}],"id":"id_e30278e6_382f_462d_8855_33f25c0362b1"}},{"@type":"Return","id":"id_3c998822_17fb_4365_9580_dfffa66b907d","maybeValue":null}],"parameters":[]},"id":"id_533b65bd_b53a_4c79_bed1_d8c55eab24d2","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":460}