by @Jacob Maleczek Fork
{"functions":[],"name":"height and cost","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_6c292485_5589_44c0_a887_a488076578cf"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"height","lengthValue2":"5","id":"id_2a0db18b_1f85_45be_a926_172fcba0e758","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"age","lengthValue2":"5","id":"id_fbcea2b6_c317_4d8c_bf19_a3172d926c74","initValue":null},{"newline":true,"@type":"Output","id":"id_503629e3_bef5_4b04_8f38_2f1cd3e3369c","value":"\"what is your height (in cm)\""},{"@type":"Input","name":"height","id":"id_851b365a_2246_45de_b5df_53c99fccb0e3","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_80e2f3dd_6a83_419e_b97c_a825821e220a","value":"\"sorry you can not go on the ride\""}],"id":"id_43abd59a_d82f_46bf_b0b9_031d1731cb0d"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_820056a2_e67c_4e2f_b95a_949f47c19ef4","value":"\"what is your age?\""},{"@type":"Input","name":"age","id":"id_167e7ec0_b6fa_419d_80ad_253b88881918","prompt":null},{"newline":true,"@type":"Output","id":"id_37f018d9_83eb_49fb_b8dd_0ae4a55808fd","value":"\"you may go on the ride, enjoy\""},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_0165723b_3024_4ff6_994d_ca7361c75743","value":"\"it will cost you £5\""}],"id":"id_def26015_7459_48a4_bdbc_f5f9df3fa02a"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_86842054_1c47_42e0_b4c0_680de1a26707","value":"\"it will cost you £2\""}],"id":"id_5c94d8f8_8293_42ac_9b4b_e13afa807a03"},"condition":"age>=65","@type":"If","id":"id_28d4fc02_7363_42c5_85ee_ff53bb476134"}],"id":"id_f1fc18cd_7847_4cae_98d0_55bd9a5ca944"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_32e8f43a_de2b_4a36_8b87_01112ba491c5","value":"\"It will cost you £1\""}],"id":"id_3b9d4e1f_a51c_4943_9703_36bb32555c93"},"condition":"age<=16","@type":"If","id":"id_8d730fd2_8841_459a_b07b_7d154aeb80ff"}],"id":"id_11ae0585_26b2_49bf_b8e2_a22222de210a"},"condition":"height>=100 && height<=200","@type":"If","id":"id_c3e1b4b7_7ed6_4242_b47d_13560c477b14"},{"@type":"Return","id":"id_c15a8547_507a_41cb_a78f_963312e55f11","maybeValue":null}],"parameters":[]},"id":"id_cb4a18bf_ee93_4603_a0b8_76ec00e0ea4c","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":655}