{"functions":[],"name":"fairgroundRide","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_a1a4dd6f_4c33_4a53_b828_9bb5c4f19e2b"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"height","lengthValue2":"5","id":"id_db84df5a_0753_4551_b47f_960b65683a92","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"age","lengthValue2":"5","id":"id_ea1bc706_353e_4ddb_84f9_3e2e4e753f55","initValue":null},{"newline":true,"@type":"Output","id":"id_9bc5eea1_88da_473e_95f5_b8e91e105755","value":"\"Please may you enter your height in centimetres.\""},{"@type":"Input","name":"height","id":"id_3dd7a66b_8db6_436c_a5f4_57fd58bbb439","prompt":null},{"newline":true,"@type":"Output","id":"id_8cb6c584_3b73_425c_9daf_f2db7e1d6a2c","value":"\"Please may you enter your age in years.\""},{"@type":"Input","name":"age","id":"id_07581fe5_1e34_4a07_bcb3_e007c90a1ad4","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d389162c_c0c8_4c91_931c_cb2da9e48cc8","value":"\"I regret to inform you that you do not meet the minimum required height to safely occupy this ride.\""}],"id":"id_e031417b_ee8e_42f0_a484_864d8d4e1e89"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_42a35d89_0fa1_4e5d_b06e_40b9b6d54e3d","value":"\"I regret to inform you that you are too tall to safely occupy this ride.\""}],"id":"id_009cf26f_6b65_487e_8dcb_b1327ea0eb26"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_a2958402_09e0_40da_ad14_dd410a0e920d","value":"\"You are permitted to ride. Your payment will be £5.\""}],"id":"id_01696f0b_8a91_41e1_b23a_3ff9bb9c3b1a"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_6899b559_a44e_4d56_991d_d7fb2875efc7","value":"\"You are permitted to ride. Your payment will be £2.\""}],"id":"id_9c9f6bf6_be73_4013_9775_08b35254749e"},"condition":"age >= 65","@type":"If","id":"id_6c4bdaa4_c637_4792_babd_d49e9c60c757"}],"id":"id_6992fa55_f876_474a_8e2c_b6af5e05ce3c"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_49efd332_9d34_4ade_8880_ecf05bfe5068","value":"\"You are permitted to ride. Your payment will be £1.\""}],"id":"id_76717957_be7b_4b7e_a793_d704bd7b3f30"},"condition":"age <= 16","@type":"If","id":"id_5a2934ab_65bc_4eea_b74f_3b69ebb70c3d"}],"id":"id_820618a9_3202_4ce9_bbf3_0eae3901ec21"},"condition":"height <= 200","@type":"If","id":"id_f066b81c_7f28_457d_b19c_c6178c6d5234"}],"id":"id_bebac1eb_566b_454f_8db7_c4268e4f8e94"},"condition":"height >= 100","@type":"If","id":"id_dd62a514_3109_4c41_a6b3_f71b8ec5535b"},{"@type":"Return","id":"id_a07bd062_f78f_4cac_9d0f_9a0c117274f8","maybeValue":null}],"parameters":[]},"id":"id_12bca964_91c6_4800_97b4_c381ad90b735","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":609}