by @Michael Manavalan Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_88fa5a03_9204_4e54_8907_967e8d26c3da"},{"@type":"Declare","tpe":"Integer","name":"num","id":"id_4a9ce58e_1901_4bff_adc8_7f595837cb01","initValue":null},{"@type":"Declare","tpe":"Integer","name":"Price","id":"id_5eca2d63_4b7c_4435_b4bf_56b7099ad7a6","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"Burger","id":"id_a3719e6a_55b6_4225_bc0a_becbf2bc9ff9","initValue":"4"},{"@type":"Declare","tpe":"Integer","name":"Burgermeal","id":"id_738ca18b_975a_4d5b_94f6_56b9b580ad3c","initValue":"9"},{"@type":"Declare","tpe":"Integer","name":"Fries","id":"id_ed486dee_25c6_4b5f_8e33_ab61517b35e8","initValue":"3"},{"@type":"Declare","tpe":"Integer","name":"Coke","id":"id_72d25185_063b_44e3_ae37_3d2c8cc96b2a","initValue":"3"},{"@type":"Input","name":"num","id":"id_013cfd17_7a14_45af_9ab9_041dcb9ddc98","prompt":"pick the order you want, Burger is 1, Fries is 2, Coke is 3 and burger meal is 4"},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[],"id":"id_75aaa43a_1349_464d_a8ef_d36db4845f74"},"trueBlock":{"statements":[{"@type":"Assign","name":"x","id":"id_2a167db7_4e4e_483c_aa84_b88497dc2e4c","value":"9"}],"id":"id_067edc10_2916_403e_a20c_9064666c8714"},"condition":"num==4","@type":"If","id":"id_4c5e0b72_765f_4e6e_9c74_e3227b659eb9"}],"id":"id_6c65fa75_28a5_4cc1_b464_1e360685a4fb"},"trueBlock":{"statements":[{"@type":"Assign","name":"x","id":"id_41ec51a1_7f1c_4ac1_9085_83e498b9c0aa","value":"3"}],"id":"id_f4049926_2b69_45ea_83e2_040801d2d772"},"condition":"num==3","@type":"If","id":"id_0d61db88_9dac_4b95_868d_1e29bf33b0d5"}],"id":"id_327dbe09_09c9_4b17_ad19_e12134f546e7"},"trueBlock":{"statements":[{"@type":"Assign","name":"Price","id":"id_074818a6_9ab4_4aff_a7a0_513890449b46","value":"3"}],"id":"id_80e56829_e9c9_4265_9027_ef3e8e77890c"},"condition":"num==2","@type":"If","id":"id_01586f4e_201b_4825_acb6_ecf1518d0f40"}],"id":"id_e912a9c9_cd21_464d_9f6e_ff5ec1256dd7"},"trueBlock":{"statements":[{"@type":"Assign","name":"Price","id":"id_226bc9fe_28df_409e_a6f2_663b80df78a4","value":"4"}],"id":"id_6626064f_555f_4333_b82c_b7d4c2e4ec3c"},"condition":"num==1","@type":"If","id":"id_f005d398_d33d_477e_8ddf_fadff656e24c"},{"@type":"Return","id":"id_1c3b5c3a_1946_4252_8e64_25bf662e56f5","maybeValue":null}],"parameters":[]},"id":"id_fadea6d7_2972_4358_8227_b5417d7d7195","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":296}