by @Jonathan Edwards Fork
{"functions":[],"name":"fairground price","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_b74b8e9d_09a1_4a38_9b34_483235b06359"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"height","lengthValue2":"5","id":"id_59f23f5e_b2b3_44a8_91cb_f154b6c89ba4","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"age","lengthValue2":"5","id":"id_34f6c296_827a_4d03_9092_df30956d5572","initValue":null},{"newline":true,"@type":"Output","id":"id_19417fb2_0208_4691_9e99_c6203d552118","value":"\"Please enter your height (cm). :)\""},{"@type":"Input","name":"height","id":"id_b2b519b5_cfda_4e6c_b29a_b58a1fc7d1ef","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_f7445c7c_e9dc_4018_94a4_06b6de379560","value":"\"You are \" + height + \"cm, so you are allowed to go in the fair. :)\""}],"id":"id_48d33a04_c839_46f1_b406_6547ee31b946"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_1866794d_76f2_4a47_892d_d9a4338d04e5","value":"\"You are \" + height + \"cm, so you are too short to go in the fair. :(\""}],"id":"id_28cc4f4d_efa6_4b54_be0e_f504b5c33e65"},"condition":"height<100","@type":"If","id":"id_1ad57f37_76d4_4be5_9cf7_12d30022550d"}],"id":"id_7fc51f46_b6fa_4ebd_bb15_6c9fcd120ab9"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_1059d717_ec81_42b9_9b97_14f3f2c03ec4","value":"\"You are \" + height + \"cm, so you are too tall to go in the fair. :(\""}],"id":"id_ac4ebadd_7943_4771_b5e6_94d6994102a3"},"condition":"height>200","@type":"If","id":"id_c2c77ce6_6e6a_475e_9694_824b20c11e62"},{"newline":true,"@type":"Output","id":"id_e573fad4_e0b9_44e0_95f3_13f728ca919c","value":"\"Please enter your age. :)\""},{"@type":"Input","name":"age","id":"id_3d1dd72a_448a_42b6_8cbf_7b18e9c54d7b","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_4f9efec7_22af_4627_893b_fc3594345783","value":"\"You are \" + age + \" years old so you must pay £5. :)\""}],"id":"id_f1e90fa2_2cb0_45f1_9412_50cfa2cfd10e"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_1516f782_8370_466c_9644_8d0d3f109cdf","value":"\"You are \" + age + \" years old so you must pay £2. :)\""}],"id":"id_0c31f0cb_0826_4412_b9e7_1d6b961edfee"},"condition":"age>65","@type":"If","id":"id_2bb18515_2fe2_477e_ab6a_f25c54217fa2"}],"id":"id_d1bc3bd1_8e9e_438b_8a9a_344612d1399a"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_5c8ac487_8e3d_451d_903f_1d7a664736b5","value":"\"You are \" + age + \" years old so you must pay £1. :)\""}],"id":"id_d63413ad_2a89_415a_bbff_f1aabd75164b"},"condition":"age16","@type":"If","id":"id_5fd35941_f107_4acc_9869_319bb7d5cddf"},{"@type":"Return","id":"id_955d7647_06bc_4d97_93ed_0737be2616bc","maybeValue":null}],"parameters":[]},"id":"id_dfcae9bc_2cad_48d3_826d_3f16a864d45e","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":459}