by @Zach Knight Fork
{"functions":[],"name":"Fairground ride (2)","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_a5b303ad_d098_45a0_951e_e0f6c3e6d36c"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"height","lengthValue2":"5","id":"id_e755f13c_8d72_4ac2_ad80_0c747097abe9","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"age","lengthValue2":"5","id":"id_b9339463_c42d_484f_964b_45bec20aa7e1","initValue":null},{"newline":true,"@type":"Output","id":"id_dc36f099_0e26_4a32_ae5b_54c068f787c1","value":"\"Please enter your height in metres (Decimal points accepted.)\""},{"@type":"Input","name":"height","id":"id_c7925b14_1256_4b1c_8e16_4e2d2ccfab90","prompt":null},{"newline":true,"@type":"Output","id":"id_ee52dbd5_df21_43cb_8ee6_c7e405eb35cc","value":"\"How old are you?\""},{"@type":"Input","name":"age","id":"id_21500c5c_a111_4cf0_a1c8_abb9c3bfdcf6","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_a26cb886_0494_4940_8f7a_917237626deb","value":"\"Oh no! Sadly you're too tall to ride!\""}],"id":"id_b62b702c_9849_4777_b0e9_63c38134042f"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3cf2b1c6_4441_43fb_bc0b_604c05dbed2a","value":"\"Ooh! Your a bit too short to ride. Come back next year!\""}],"id":"id_53439dee_7b6b_4abf_bffa_514b1679818b"},"condition":"height < 2","@type":"If","id":"id_8015707d_d669_487a_8b7e_50d7f4344e06"}],"id":"id_d3aa2dd6_7510_457a_8e37_41d10e725215"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_9c51ef81_4b54_48da_b267_a91381c5862a","value":"\"That will be £5 please.\""}],"id":"id_af2d96b3_cb93_452c_b550_b38fc66230eb"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d9f83b0b_9950_4eab_9062_94dc0c48ddbf","value":"\"That will be £2 please.\""}],"id":"id_55b9405c_47a5_4fef_abcb_629651b67006"},"condition":"age > 65","@type":"If","id":"id_81ca1984_f291_4c26_ad33_b62c3a5f34de"}],"id":"id_87545026_6e68_491b_818a_f8c51987c421"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_cd2396e8_2b03_4ac4_a1e8_cba2aa03f4a8","value":"\"That will be £1 please.\""}],"id":"id_0c5f8475_c837_4d07_9b6c_4d7d774c7551"},"condition":"age <= 16","@type":"If","id":"id_d7e94d69_56f2_4bad_91ce_c6ad84dfedbd"}],"id":"id_6a0e60f4_59ff_437a_8cdd_6263987d0078"},"condition":"height >= 1 && height <= 2","@type":"If","id":"id_0de5b32a_3d7d_48e2_ac0a_94ee95dba81f"},{"@type":"Return","id":"id_856bea79_97a3_4d38_8c67_9d2d6b7e730c","maybeValue":null}],"parameters":[]},"id":"id_6092df21_6bfc_49a7_a98b_e2a851d65284","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":752}