by @Ayman amjad Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_5b6cf4b0_41ff_496b_a36a_fc6b854558df"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"x","lengthValue2":"5","id":"id_3539457e_edf6_4370_94fb_e3dc81e1aff1","initValue":null},{"@type":"Input","name":"x","id":"id_1b7e680d_5820_4b14_bf70_74300a2300d8","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_9338051d_38e1_4c86_8e7f_2ead05822740","value":"\"You are not eligible to vote\""}],"id":"id_85e1e92a_21ef_4fbb_a2a3_d8f01475dab3"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_403f77ee_e33b_4075_8697_fc0178b43fc8","value":"\"You are eligible to vote\""}],"id":"id_9e5820bd_ec9e_4415_b3bd_c2720a34a470"},"condition":"x >= 18","@type":"If","id":"id_962d655a_79cb_4694_9093_f56255a80ae1"},{"@type":"Return","id":"id_7d79c9fd_4b24_4926_8ce7_548ec5e53aa5","maybeValue":null}],"parameters":[]},"id":"id_1bcebe9b_ea6f_465d_9eed_277a59dfe145","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":true},"version":"0.3","revision":51}