by @Joshua Wielechowski Fork
{"functions":[],"name":"can you go on the ride","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_134c773f_dd5f_424b_8d29_daf8077d9125"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"height","lengthValue2":"5","id":"id_4a3a4648_370e_4cc7_8ed1_4c8430916727","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"age","lengthValue2":"5","id":"id_5814a04a_ce3e_4b26_b200_8d97a18e87a5","initValue":null},{"newline":true,"@type":"Output","id":"id_2fb704d1_cfc3_4666_bd83_d87280107cfb","value":"\"Please enter height in meters\""},{"@type":"Input","name":"height","id":"id_f3589a63_d56a_43a0_a953_9a61d64494c1","prompt":null},{"newline":true,"@type":"Output","id":"id_dfd91762_8241_4d76_9f4e_a3272f06addb","value":"\"Please enter yore age in years\""},{"@type":"Input","name":"age","id":"id_20791711_e7ef_4384_9505_9973ada7a07e","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_39e09a91_8d06_4562_b627_918f60dfc8a8","value":"\"Sorry you are to short to ride the ride\""}],"id":"id_413c7227_3274_4555_8dc0_992c57c3f732"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_7d669bbe_3572_4ddb_8394_b94c8b95c43d","value":"\"Sorry you are to tall to ride the ride\""}],"id":"id_28528b3d_40fe_4409_8d8c_376ea7703655"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c2472742_abb5_4a38_9e41_5a5333c2a4d9","value":"\"You can ride the ride\""},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_9ca3c317_861e_49d4_8fbc_a37bb2468c2f","value":"\"The ride will cost you £5\""}],"id":"id_5daad097_1bb6_4f2a_a18e_49f8d8623ae6"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_b1b6066f_da5a_4365_9525_78c9bd3de990","value":"\"The ride will cost you £2\""}],"id":"id_486de7cc_7e72_49b6_8956_b6f35a136033"},"condition":"age>=65","@type":"If","id":"id_3c39145c_6873_49e2_9dfb_390a034a06a9"}],"id":"id_b4202f8d_8d0d_4ac6_95fc_741ed4b6c235"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_119f2c23_a401_40fa_8341_b605d5b9bb39","value":"\"The ride will cost you £1\""}],"id":"id_3fe88c70_d60a_4068_8ecb_e3ac2836c5c7"},"condition":"age<=16","@type":"If","id":"id_5c24b111_eaff_47f0_9f24_f137220e8d1a"}],"id":"id_c546ab8d_b29c_4ce8_ac23_0419051523db"},"condition":"height<=2","@type":"If","id":"id_466f6f92_ac6a_4f6e_848f_96ce946d268c"}],"id":"id_afae185a_e53d_4a3a_8e6e_f2fc1c8a3f07"},"condition":"height>=1","@type":"If","id":"id_ab30e026_be7e_449a_a969_c7890b0a328d"},{"@type":"Return","id":"id_17641352_d992_490a_a713_f52abc6f2cb2","maybeValue":null}],"parameters":[]},"id":"id_4f09f6b2_d172_46ee_8e6d_78856b7c6b68","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":457}