by @Navier Baez Fork
{"functions":[],"name":"Speeding","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_f271a8fc_1eb8_4225_b415_5a751a581f34"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"drivSpeed","lengthValue2":"5","id":"id_d1633db4_5ae7_4631_a8b8_6fa7025ff10c","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"speedLimit","lengthValue2":"5","id":"id_936bfca1_42b2_4276_ae38_90b40704a36d","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"overLimit","lengthValue2":"5","id":"id_27071225_5023_437a_80f7_d7517143c46e","initValue":null},{"newline":true,"@type":"Output","id":"id_39ab1ece_3945_4f59_a459_6ad2f84077ff","value":"\"What is the speed limit?\""},{"@type":"Input","name":"speedLimit","id":"id_c02a0f47_3325_4fe0_89fe_1dcbffe22cf6","prompt":"Please enter the speed limit in mph"},{"condition":"speedLimit < 20","@type":"While","id":"id_148b8b9b_582f_445b_ab36_56ae93775550","body":{"statements":[{"newline":true,"@type":"Output","id":"id_383b5a66_4038_4403_b4d0_3748d1d61934","value":"\"That can't be right, that speed limit is too low, try again.\""},{"@type":"Input","name":"speedLimit","id":"id_66d75b80_219a_49ac_8ef4_d32079e07587","prompt":"Please enter the speed limit in mph"}],"id":"id_12ee5ec4_b208_4df2_b3ed_fa3e97535234"}},{"newline":true,"@type":"Output","id":"id_290bc582_6b5a_48cd_9618_955f94f57339","value":"\"What is your current speed?\""},{"@type":"Input","name":"drivSpeed","id":"id_e049e35e_f5cf_4fb8_a9e3_94ef76f578d0","prompt":"Please enter speed in mph"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_df1fbcdc_dc3d_48e4_af64_c71a658ada77","value":"\"You are not speeding, good job!\""}],"id":"id_42a67d0e_c805_4b79_9ab6_0fefe325d67c"},"trueBlock":{"statements":[{"@type":"Assign","name":"overLimit","id":"id_a777405c_c243_42e6_9192_9fbb0777888a","value":"drivSpeed - speedLimit"},{"newline":false,"@type":"Output","id":"id_3e7d7273_ae69_47cd_bd42_5ae71cc1de44","value":"\"Oh no! You are going: \""},{"newline":false,"@type":"Output","id":"id_e4951a86_4589_45ba_a46e_9d7279507bae","value":"overLimit"},{"newline":true,"@type":"Output","id":"id_59d73129_dd11_45d4_8e5b_7e74954db1eb","value":"\"mph over the speed limit!\""}],"id":"id_2157d4a5_29f7_46cf_8a2a_8f282dc3efca"},"condition":"speedLimit < drivSpeed","@type":"If","id":"id_29a45c45_3a9d_4fd4_bd64_570196916aec"},{"@type":"Return","id":"id_f6df90ba_317b_4d56_9f91_ae54f35914b2","maybeValue":null}],"parameters":[]},"id":"id_ba9d7aff_87fb_4675_ad26_43ea47f2d931","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":769}