by @WANIA BILAL Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_ef97e742_7674_4be7_ad8e_e6899d557d4d"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"attendance","lengthValue2":"5","id":"id_0f7f1977_f342_4315_b2f8_7023593c2610","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"marks","lengthValue2":"5","id":"id_f80f6ee1_3bd4_4248_95ad_d149573c5f5a","initValue":null},{"@type":"Input","name":"attendance","id":"id_630eaa00_a51d_4454_9516_1ae182a04c10","prompt":"Please enter x:"},{"@type":"Input","name":"marks","id":"id_76d29950_75cf_42d6_bd36_d8af5e1aac52","prompt":"Please enter x:"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_265778b3_5cc6_4cba_9d0b_0d172f65a09c","value":"\"not allwed\""}],"id":"id_0a71f2ae_f21f_4a23_aa2b_4c5bc4aa612f"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_8c673bd9_8509_406a_8f69_6cd2a854ec77","value":"\"improve marks\""}],"id":"id_94af89c1_3dd8_43b5_b716_1b0d0016520b"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3d7f3426_4a7e_4cc6_82b5_87bde849d11b","value":"\"allowed in exam\""}],"id":"id_c50e64bc_c109_4107_9ea5_8dea4e33a0a2"},"condition":"marks>=50","@type":"If","id":"id_c9c81061_9b04_4d8e_8637_247591a763c9"}],"id":"id_6ecd7787_2d21_406c_91db_900445477eb4"},"condition":"attendance>=75","@type":"If","id":"id_2bb91411_eaf2_4b33_8101_0bfa0f9bbc56"},{"@type":"Return","id":"id_10512421_7e26_4d31_8fa4_f58783c4812b","maybeValue":null}],"parameters":[]},"id":"id_9cdc34a0_244c_4b66_ad5b_7054e52486a0","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":true,"showIoBtns":true,"showFunctions":false,"lang":"c++","showGenCode":true},"version":"0.3","revision":398}