by @Veer Morjaria Fork
{"functions":[],"name":"Fairground Access (gen. 2)","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_d6b00b82_2851_4754_b104_a0cc84c5a572"},{"newline":true,"@type":"Output","id":"id_554a01a3_6b9b_4743_b14f_8d2e40bab72d","value":"\"This program will tell you if you are tall and old enough to go on a ride.\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"height","lengthValue2":"5","id":"id_3fa5883a_2eb9_43d4_adc2_8a15384e4f55","initValue":null},{"newline":true,"@type":"Output","id":"id_2823ca7f_06e9_4822_a1a5_01acea606d4b","value":"\"How tall are you ?\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"age","lengthValue2":"5","id":"id_1e13e896_d1d2_4d05_a300_d2aca53f41ba","initValue":null},{"@type":"Input","name":"height","id":"id_e24d9985_efe5_4089_9296_c1866974f3a8","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_19a8bac5_dfc6_49b8_9a05_106bbf2d6612","value":"\"Unlucky..! You are ineligible to go on the ride.\""}],"id":"id_8fd0ef73_8a8c_443b_9c08_52d4afd5bc27"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_cc6d0ce9_aa0c_417f_a817_7bca72742754","value":"\"How old are you?\""},{"@type":"Input","name":"age","id":"id_cad3d8f7_9cbf_4322_9cb2_9d3c34329a9d","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_9bd1bd16_414e_4025_b7cf_4b1fa6bfd941","value":"\"You are eligible to go on the ride... Have fun!\""},{"newline":true,"@type":"Output","id":"id_d0665478_1eba_4095_ae1d_615da0735c25","value":"\"The cost is £5\""}],"id":"id_6088affc_8108_48dc_b3ed_3a1abbcab9b3"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_61f2310a_8821_4e9e_852c_8605c5621af7","value":"\"You are eligible to go on the ride... Have fun!\""},{"newline":true,"@type":"Output","id":"id_f48bfd44_16d1_4605_92e6_588aab2d2d08","value":"\"The cost is £2\""}],"id":"id_2497d374_c8c0_416e_9c68_dabf357cbbca"},"condition":"age > 65","@type":"If","id":"id_b3bc76f5_a082_4547_abc3_1349ecf44044"}],"id":"id_377415fe_f359_4ab2_8694_b29ef4da4aff"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_2166e354_ecca_4145_b305_f35455d3cd63","value":"\"You are eligible to go on the ride... Have fun!\""},{"newline":true,"@type":"Output","id":"id_eb9828e4_9a29_4293_81b8_1dc77390deca","value":"\"The cost is £1\""}],"id":"id_1992a212_fa75_466b_92c0_7220b69d9976"},"condition":"age < 16","@type":"If","id":"id_9d7ada35_1b48_4557_a75d_dcf33b5fe3e1"}],"id":"id_f02dabdb_063a_4bbe_bae0_84d94b817247"},"condition":"height <= 200 && height >= 100","@type":"If","id":"id_7825f062_e765_40cf_ae5f_c4d4e4a8dfa7"},{"@type":"Return","id":"id_c3b1c87e_a265_428d_b266_5e0daeaf38c8","maybeValue":null}],"parameters":[]},"id":"id_f31e4579_9e62_4df9_87ad_1d0b788d6d30","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":569}