by @Shifa Noor Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_41e5704e_81e9_4f9b_ad85_599e8007b529"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"projectCompleted","lengthValue2":"5","id":"id_98f5a4d5_3227_43b9_81e2_78ff8adec278","initValue":"\"Yes\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"exampassed","lengthValue2":"5","id":"id_141fff50_9491_4f08_8693_ee4132b24e16","initValue":"50"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_ede5b653_4495_4dd4_bdf7_eb2df9b43070","value":"\"student has not completed the project\""}],"id":"id_f217351f_ec7a_4999_94ee_f806dde17c13"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_2b705718_e18a_47a2_a066_f58954dd2dbb","value":"\"student has completed the project but failed in exam\""}],"id":"id_b2fa832c_9f93_4680_ad8a_91ed4e8cb638"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_1fc14829_56de_4db4_b2af_7e4b4389033f","value":"\"Student has completed the project and passed the exam\""}],"id":"id_1ddf105a_c790_43ad_a13c_27463e4ebfba"},"condition":"exampassed>=50","@type":"If","id":"id_3c79ee5f_1f5a_4fc3_80e6_102b4a905b05"}],"id":"id_24ba4938_63f9_4b2f_ada5_2ae80ac22ff4"},"condition":"projectCompleted==\"Yes\"","@type":"If","id":"id_48e7d3cb_180c_4564_a8f9_ac472631d5fb"},{"@type":"Return","id":"id_3319b9b9_0033_4e45_a830_9d6bf076858f","maybeValue":null}],"parameters":[]},"id":"id_bd0fc207_24d3_4c64_b3e6_df08a55c907c","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":true,"showIoBtns":true,"showFunctions":false,"lang":"c++","showGenCode":true},"version":"0.3","revision":317}