{"functions":[],"name":"Password Progr","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_7c2626ce_82d9_4a4f_87a2_4167c66befd4"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"correctPass","lengthValue2":"5","id":"id_592d6694_155c_4446_b4ef_5618b39698f1","initValue":"12345"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"attempts","lengthValue2":"5","id":"id_8f5112e8_d41f_4c10_92f4_eb49c3bda9cb","initValue":"3"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"enteredPass","lengthValue2":"5","id":"id_f862479c_acdb_437f_a620_b11caeb89614","initValue":null},{"condition":"attempts > 0","@type":"While","id":"id_a3040184_3040_4cdd_ba45_fb7aca881c64","body":{"statements":[{"@type":"Input","name":"enteredPass","id":"id_ecd6f50e_a65f_46b4_a42b_6ca4d4038e4a","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"attempts","id":"id_852d8409_d8c8_4448_8979_afe8fb0287a1","value":"attempts - 1"},{"falseBlock":{"statements":[],"id":"id_23aca880_6eee_40b9_a822_ffcbd154dad7"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_579538e0_48e9_4507_b7b1_aec170dd7578","value":"\"Incorrect Password\""}],"id":"id_e54178c4_9041_4906_a6f5_f35046b9d3c5"},"condition":"attempts > 0","@type":"If","id":"id_0f6b6628_13aa_4b66_b01b_047b66eba6e9"}],"id":"id_e3f7c636_b45b_4b53_b1c2_5da24636caef"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_7680d20a_4557_4a9f_b041_6bc9bfe7b886","value":"\"Access Granted\""}],"id":"id_1794e0f0_ebb8_4214_b2fc_f7ba7ecdbe87"},"condition":"enteredPass == correctPass","@type":"If","id":"id_2c8cf2fb_9b40_465e_820f_30dbb217036e"}],"id":"id_89fc5047_de48_498e_bfdc_19caa4df8608"}},{"falseBlock":{"statements":[],"id":"id_eb0f5b15_06aa_4504_a403_021dc3f91d69"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_b87c2851_888e_45df_bc80_74bc9fd3943d","value":"\"Account Locked\""}],"id":"id_a93bfda7_4b60_4b6f_ba55_2a101b153bb7"},"condition":"attempts == 0","@type":"If","id":"id_0bea2382_c131_480b_bd38_00f09b046c91"},{"@type":"Return","id":"id_354dbe44_60ab_4a2a_9e20_c455a8d5f5fa","maybeValue":null}],"parameters":[]},"id":"id_d181bc07_5a37_4541_9249_926a8475a20d","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":400}