by @Yahya Sayed Fork
{"functions":[],"name":"TASK 3 A COMPUTER SCIENCE 02","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_ae55c986_8ea5_484e_b0be_42f2f3448957"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"x","lengthValue2":"5","id":"id_e3380240_dbe4_448b_8a89_3e93c2ceb775","initValue":null},{"newline":true,"@type":"Output","id":"id_0e2ee631_21da_4263_8a77_4c5a734949b0","value":"\"What is your height?\""},{"@type":"Input","name":"x","id":"id_d393de6f_a1de_4f25_b030_e685eea66bd7","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3600b3d8_9c6d_4af3_a8db_1247b3c584dc","value":"\"YAY! You can go on this ride!\""},{"newline":true,"@type":"Output","id":"id_13744873_ed9d_46ba_a03a_0b7f243db70d","value":"\"What is your age? \""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"y","lengthValue2":"5","id":"id_201904d9_9253_4c3e_accd_620a9d71a719","initValue":null},{"@type":"Input","name":"y","id":"id_88cf715d_7a33_4578_bbb1_730611655a01","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_314b9a65_ed55_4d60_81a3_470409f79630","value":"\"You are between 16 and 65, please pay £5\""}],"id":"id_2bbf75be_3f62_4117_91d1_7f6129286071"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_4cf4f397_019a_4fcc_a681_4754dfee938d","value":"\"You are over 65, please pay £2\""}],"id":"id_124a19e1_5241_457f_a629_d9e369bdde76"},"condition":"y>65","@type":"If","id":"id_2cb66b2b_43ec_42fb_9b9e_fc192856e8c6"}],"id":"id_a6e84126_2df8_43fa_b049_67badd7a3445"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_296325ce_9cfb_4cc0_a6e8_855cd5d96c62","value":"\"You are under 16, please pay £1\""}],"id":"id_4a7c33d3_a0aa_4e70_a628_e34f564d76a6"},"condition":"y<16","@type":"If","id":"id_0c24dd2d_847b_494a_8175_3743eefc32c9"}],"id":"id_248d29f4_c619_438e_8577_92d2326e7cec"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_83128966_a16e_4169_b8f8_359a0d5dbb64","value":"\"Sorry you can't go on this ride.\""}],"id":"id_4e6cc8d7_1f2b_4106_ab55_558d8e926d38"},"condition":"x>2","@type":"If","id":"id_bd50d523_f8b0_4256_a2b5_c8a2e1c51d20"}],"id":"id_54214e80_7aff_4dab_830c_3503678b5c8d"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d75a3f9c_ca05_49e0_9d96_3d73a382bb69","value":"\"Sorry, you can't go on this ride\""}],"id":"id_908f9764_d6db_4090_8541_679f3db9026a"},"condition":"x<1","@type":"If","id":"id_63eceb18_9915_4f0d_9deb_1bf99228e873"},{"@type":"Return","id":"id_8a8b4286_5330_4024_88b5_313e1f53c1ce","maybeValue":null}],"parameters":[]},"id":"id_595a2e27_5233_4c6c_84c3_fa3215a95cd2","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":438}