by @khalidamartini-prog Fork
{"functions":[{"rawId":"id_53350783_f145_4f27_bd47_1b2c1a841697","tpe":"Void","name":"fun1","statements":[{"@type":"Begin","id":"id_0428a6f2_0bce_491a_932e_da009cd6c48b"},{"@type":"Return","id":"id_d317a943_799c_4479_8cd3_2fb248ca3b05","maybeValue":null}],"parameters":[]}],"name":"1","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_496ae0ba_2b76_4eba_84c6_2a0ea43c9597"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"x","lengthValue2":"5","id":"id_469fe31f_29c2_48bc_b41b_5816564ee54a","initValue":null},{"newline":true,"@type":"Output","id":"id_39d34007_fe78_4f05_9d13_50b89ed96014","value":"\"enter a number \""},{"@type":"Input","name":"x","id":"id_d7c3c20e_b94d_4e3c_ba05_a15023db149c","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c4979284_6045_4351_8f63_60a954802778","value":"\"it is not a correct colour option\""}],"id":"id_91bdae69_9076_4c7a_a7c3_56af8e36bf6b"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_2177a1c9_11de_4792_96f0_a98079fca47a","value":"\"blue\""}],"id":"id_7806673c_a666_4e14_a0ba_6f1e13f9c0c0"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_1bb20c2b_27ff_4648_923f_c77e18aa71ec","value":"\"red\""}],"id":"id_e0765291_54dd_4612_8f07_46e361dc3cc1"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_840f6e6b_113d_4efd_a9ee_50c93be790fb","value":"\"green\""}],"id":"id_a69d1445_c2b0_4435_8e81_213ac0bdb3cb"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_1a35bc7e_c4a5_4a55_aa9e_6d15ad40d456","value":"\"it is not a correct colour option\""}],"id":"id_9cff3b08_b101_4c0e_b220_27e61632f614"},"condition":"x>30","@type":"If","id":"id_3ab210f3_21df_450f_9015_7e3f7b1e4c95"}],"id":"id_28fcbe27_8e41_4195_b9bc_8ec857394edf"},"condition":"x>=21","@type":"If","id":"id_6c03eefa_81e5_49cf_bd67_55bb305d280e"}],"id":"id_28c41955_235c_4af8_96a7_f5828e1f8923"},"condition":"x>=11","@type":"If","id":"id_2d97b9d0_ffd5_4b16_b4f6_75659a5ad176"}],"id":"id_aafa7eca_df72_4b01_a75d_90647ef6b24d"},"condition":"x>=0","@type":"If","id":"id_14946b1a_8bf9_498a_aa03_6c2eb96e2a87"},{"@type":"Return","id":"id_65a47e01_1e1e_4a85_9a08_874799e5b754","maybeValue":null}],"parameters":[]},"id":"id_38a5a0d5_1500_4d5a_a7cf_c6f21098f786","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.2","revision":260}