by @RABIYA REHMAN Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_195a7ad9_9fb1_4135_ba05_8cfa71916012"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"restaurantopen","lengthValue2":"5","id":"id_c55e0c35_708b_4ead_8ca5_27755cc8c9a9","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"rideravailable","lengthValue2":"5","id":"id_63df023c_4fc6_41ad_b96c_afd94e396da2","initValue":null},{"@type":"Input","name":"restaurantopen","id":"id_c9375581_c359_46eb_bf18_6a74a08e6b60","prompt":"Please enter restaurantopen:"},{"@type":"Input","name":"rideravailable","id":"id_2b07316b_16cd_4115_86af_0f937d983504","prompt":"Please enter rideravailable:"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_452d4ee5_a89c_40f2_baf7_9a96c887b66a","value":"\"restaurant closed\""}],"id":"id_5380066f_33a2_4b96_9bd7_70559172c84f"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_bc7193d5_90b0_48bc_9854_b50e99633efa","value":"\"rider not available\""}],"id":"id_0fdcd812_92d6_46bf_8a23_a08a479958bb"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_64240945_6b79_4749_932a_8fc0f9ea2989","value":"\"order confirmed\""}],"id":"id_158cf9c8_0677_4cb0_b9bd_a392665954da"},"condition":"rideravailable==\"yes\"","@type":"If","id":"id_25a31194_115f_4bd7_9e99_42b0d0b76997"}],"id":"id_50c17d39_e508_4f5d_b726_d3016f86b145"},"condition":"restaurantopen==\"yes\"","@type":"If","id":"id_71408c7a_a67b_4235_a38b_2e210995ac95"},{"@type":"Return","id":"id_34b2a49b_7578_44db_b2c7_8294d136db91","maybeValue":null}],"parameters":[]},"id":"id_23111faf_6907_4441_96a9_0657fc03e6c8","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":true,"lang":"c++","showGenCode":true},"version":"0.3","revision":265}