by @Cronos Maselskas Fork
{"functions":[],"name":"Test results","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_5f2abe36_e5a1_43c4_ab6a_079d58befb5a"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"percentage","lengthValue2":"5","id":"id_c944b477_05b8_41f4_9f4a_d2a9f5435221","initValue":null},{"newline":true,"@type":"Output","id":"id_09024a50_9caf_4988_af98_741d4b528bd7","value":"\"Please input the percentage you got on the test\""},{"@type":"Input","name":"percentage","id":"id_2b4540a4_ce15_47c5_aaf4_611adf8649f5","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_b841430d_816d_4064_8f9d_82fe7d213376","value":"\"That is a invalid test score\""}],"id":"id_d41ce9af_adfa_4deb_993d_57d34673eb0e"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_6f26df0b_26a8_4d10_a16a_ba0239a7bbf5","value":"\"You got a grade 9\""}],"id":"id_465a857f_8b0b_4703_9799_992e235bf0a0"},"condition":"percentage<=100","@type":"If","id":"id_ba3ea306_e5b1_4ed4_a7dd_148159be6d3a"}],"id":"id_7b99403f_5f35_4196_af10_ad280f44783a"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_a2d4029d_541a_4397_831f_a984750b6653","value":"\"You got a grade 8\""}],"id":"id_d8bd509c_685e_446e_8193_97abf3574e2e"},"condition":"percentage<=89","@type":"If","id":"id_248fdb16_d700_400a_aacd_4d952a8dbdb9"}],"id":"id_ecf9eef7_808e_4b5b_91e1_df2871331eeb"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_4d8cff48_bf26_41f3_bdb7_0d7392a4c32b","value":"\"You got a grade 7\""}],"id":"id_39010206_85bc_4c61_b5b6_fb89cd3fb5f0"},"condition":"percentage<=79","@type":"If","id":"id_8804d207_ac5c_4b3e_b353_0c54059e7d5e"}],"id":"id_74ed0f2e_a252_4699_a01e_7436d9626c0b"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c0c5235a_44ec_4dfa_88b0_2a0affeb1d3b","value":"\"You got a grade 6\""}],"id":"id_06b44ce9_d779_433e_a9b2_71d087e79bd9"},"condition":"percentage<=69","@type":"If","id":"id_ee798ce8_756e_4326_9a21_519cfb6e7f62"}],"id":"id_1de672cf_a607_4a92_b31c_389ea82775b0"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_cc8a91a6_ff3f_419b_bad3_a4040963ae26","value":"\"You got a grade 5\""}],"id":"id_974157f4_ab2a_4259_99a7_771d90b52313"},"condition":"percentage<=59","@type":"If","id":"id_dd132b63_4d6a_4449_bdfd_e59c3634b9b7"}],"id":"id_21b3a134_b341_49b1_ae2d_34103d6cdd6e"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_0fcfa648_8de5_4ccf_b39e_78edc0f2a63f","value":"\"You got a grade 4\""}],"id":"id_d6d6b11b_f13f_4710_a0ec_77825dd4c742"},"condition":"percentage<=49","@type":"If","id":"id_bbde0220_5f63_4050_bc31_1496805d5724"}],"id":"id_4e079df1_9364_4b08_bdb0_6d094a791ec7"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d8cbfacd_f5e0_4a1d_9c26_cd431480e256","value":"\"You got a grade 3\""}],"id":"id_49716488_c4b4_451a_ac82_0c9d140b8846"},"condition":"percentage<=39","@type":"If","id":"id_40f4ea45_bd7c_49e5_b467_a660dbda8cb1"}],"id":"id_84a7d0ee_90e7_42de_9e4f_77977183aab2"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_eb8ff8e4_7d89_4d6a_a222_00cd87fbe5e0","value":"\"You got a grade 2\""}],"id":"id_00a1b999_de9c_4375_b4da_7da21633ba76"},"condition":"percentage<=29","@type":"If","id":"id_8752b207_a65d_4744_92b3_ce3eaefe8f11"}],"id":"id_e3674290_f342_4795_8470_301c99a9c032"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_fc85f9e3_a046_419f_9fa8_70e73a71733e","value":"\"You got a grade 1\""}],"id":"id_14cdb8d4_a959_4ae2_837d_8aea83d0d43b"},"condition":"percentage<=19","@type":"If","id":"id_c5a2fd06_6db4_4eda_bf87_be1a82db971d"},{"@type":"Return","id":"id_40aa8b43_84c7_4e83_b3ee_f89f0d5963a9","maybeValue":null}],"parameters":[]},"id":"id_dcc8c782_35f6_4b00_bcc9_da4e217ad01b","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":742}