by @Haider Mehmood Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_40954106_93ac_4ca0_9af7_7d7d8d71f056"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"password","lengthValue2":"5","id":"id_8c2dcda5_b7a2_45aa_9e4a_c7ae73fc641c","initValue":null},{"@type":"Input","name":"password","id":"id_5f1d38d8_841b_4bc2_91b8_0c31c3002b12","prompt":"Please enter x:"},{"condition":"password != \"yes\"","@type":"While","id":"id_2f2a3e0d_e0d8_4f1b_b9d5_75bf2df58474","body":{"statements":[{"newline":true,"@type":"Output","id":"id_374495f1_94d0_492a_acde_8bd508eca20b","value":"\"You enter wrong password\""},{"@type":"Input","name":"password","id":"id_3035116d_9440_41b2_9f95_f43aa53aecf1","prompt":"Please enter password:"}],"id":"id_0b7ce4b8_82ae_4102_ab57_df06e92aac70"}},{"newline":true,"@type":"Output","id":"id_dd74c1aa_4f3f_48cc_9202_fb93fb20a7bf","value":"\"correct password\""},{"@type":"Return","id":"id_0f4e8162_5c6f_4c32_991d_9875e38e2312","maybeValue":null}],"parameters":[]},"id":"id_7ec50821_a314_4cd5_ba10_4128c870682c","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":true,"showIoBtns":true,"showFunctions":true,"lang":"c++","showGenCode":true},"version":"0.3","revision":127}