by @Shifa Noor Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_40be02ff_29cf_49f0_ab3d_232d4a557a7e"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"customerorder","lengthValue2":"5","id":"id_51f1305c_ee57_4d2f_9dee_2468d581cede","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"freeshipping","lengthValue2":"5","id":"id_b418250d_6b1b_49c2_a857_eca43002de1b","initValue":null},{"@type":"Input","name":"customerorder","id":"id_295974a6_f4ac_4244_8e9c_a701efa0c281","prompt":"Please enter customerorder:"},{"@type":"Assign","name":"freeshipping","id":"id_5ac72f70_ade9_4c01_a73c_bd46251a92fd","value":"\"Yes\""},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_e30d8ab6_6487_4133_85f5_1fa8b65f9c9b","value":"\"order amount is not greater than 50 dollars\""}],"id":"id_7437d33e_c672_4b5e_b371_ce52ce99bead"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_9b76747b_1a30_4d52_be19_eefb3eda263f","value":"\"order is above $50 but customer is not eligible for free shipping\""}],"id":"id_c3b633d8_41e6_4528_b46d_d6b4c3e350fa"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_f0216c72_3a5e_4d6d_a113_f945f4233785","value":"\"customer is eligible for shipping\""}],"id":"id_58c03014_ebc7_4a4d_96bf_08eb1b81feb5"},"condition":"freeshipping==\"Yes\"","@type":"If","id":"id_2e1eafdb_efe1_474d_92ec_8a6f55824c7b"}],"id":"id_1812ab89_e50e_407b_94c8_d16ad5bfe9f5"},"condition":"customerorder>50","@type":"If","id":"id_fd6729a9_c2a9_44f7_aee3_f907e385ff62"},{"@type":"Return","id":"id_6c87deff_e7ed_4a6a_bca3_5488f38ea028","maybeValue":null}],"parameters":[]},"id":"id_107c2b3f_2064_450d_b06b_f78a4c78de57","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":true,"showIoBtns":true,"showFunctions":false,"lang":"c++","showGenCode":true},"version":"0.3","revision":395}