by @Zulnoon Addham Nafees Fork
{"functions":[],"name":"ticcket price","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_79045996_38db_4cb9_a975_f22b78af909e"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"AgePrice","lengthValue2":"5","id":"id_009dad3f_f14c_46b0_87ba_df51fb883dd1","initValue":null},{"newline":true,"@type":"Output","id":"id_9663a597_2e0b_4ee3_aad2_ec43237ae7a3","value":"\"What is your age\""},{"@type":"Input","name":"AgePrice","id":"id_32f38c1e_2c8b_4aaf_ade6_a1960c4ccc89","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_edd3a027_5245_4a23_9de5_28e4a77021cf","value":"\"Child detected price is £10\""}],"id":"id_16c0ce97_a7de_4a14_b121_b57ce53025fa"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_96a09cdd_b3be_47cb_9180_56f991f27250","value":"\"Detected adult price is £25\""}],"id":"id_acc84fcd_15e4_4e83_9bf5_df0fbd1e1f92"},"condition":"AgePrice>15","@type":"If","id":"id_b0791c50_b5ac_4311_bf30_c78031146ed4"},{"@type":"Return","id":"id_c12f5980_88a4_4fe4_ac58_7e16d04e3303","maybeValue":null}],"parameters":[]},"id":"id_232d420d_47f6_4394_9c2a_996e4c0eba4b","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":171}