by @TEHREEM KHALID Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_1c3ffe33_dac0_499d_b7d6_ee23e785e01b"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"num1","lengthValue2":"5","id":"id_ecf1a5fc_7055_43c3_83e7_890856ddccee","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"num2","lengthValue2":"5","id":"id_d448beb6_60ad_4ac4_b2ee_ebf8309e2470","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"op","lengthValue2":"5","id":"id_9c545b71_8fdd_49db_b45e_a41a3d3e47bb","initValue":null},{"@type":"Input","name":"num1","id":"id_13ffdf7c_273f_4c74_a9c8_337c7a8a60aa","prompt":"Please enter x:"},{"@type":"Input","name":"op","id":"id_2abe127b_eddc_4858_8658_62332f1a1fa3","prompt":"Please enter x:"},{"@type":"Input","name":"num2","id":"id_3417b41f_57e6_4f2d_8be7_c585fc93ace5","prompt":"Please enter x:"},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_b3a5ec0a_d7f9_483f_8840_0536ff15157f","value":"\"Invalid operator\""}],"id":"id_5cddd1cf_f0a4_4099_88e0_6945e14dc4fe"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_0a101324_ba31_4fa0_b248_6d57ad01de24","value":"num1/num2"}],"id":"id_c9471d58_5054_4447_b904_fee566b3c043"},"condition":"op == \"/\"","@type":"If","id":"id_50423457_705a_4fad_9b25_0fbd79d8f21b"}],"id":"id_564b9a79_da78_484f_b3b8_ccdfe1014ca0"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_2deeeaa1_08db_48fc_a920_8e38b21f4224","value":"num1*num2"}],"id":"id_53397039_2897_4417_9cfd_39eb2a796093"},"condition":"op == \"*\"","@type":"If","id":"id_8e64cfb0_97b8_4c96_9c68_25e3c2ca2bce"}],"id":"id_8a3c7542_fc14_4c5b_a4b3_9ac0d02687b8"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c59b5555_ae44_4968_a9b3_0407a1730416","value":"num1-num2"}],"id":"id_ab30f802_7db3_4f00_a379_b2dd57a649ed"},"condition":"op == \"-\"","@type":"If","id":"id_5485457c_be41_49ba_94dc_a6324f606c69"}],"id":"id_bd201510_c0c2_4d7d_af0f_c4d4e6bb1eea"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_24fdfde2_06af_4247_9942_10c36253882d","value":"num1+num2"}],"id":"id_bcc81719_25e7_49aa_9fad_550ae3ed07d0"},"condition":"op == \"+\"","@type":"If","id":"id_333945d5_6013_44f9_95d0_8d7b25151e5c"},{"@type":"Return","id":"id_df91b44f_6df2_4e8b_a858_550416ded2bc","maybeValue":null}],"parameters":[]},"id":"id_40ff0987_88d0_4cf7_9c84_a11271737c5f","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":true,"showIoBtns":true,"showFunctions":true,"lang":"c++","showGenCode":true},"version":"0.3","revision":312}