{"functions":[],"name":"TestResult","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_90b082ea_3586_43a0_9d31_bb4cbcee8280"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Result","lengthValue2":"5","id":"id_79772b4a_1c32_4d88_9118_baa8c6ad8963","initValue":null},{"newline":true,"@type":"Output","id":"id_ba1d0240_21a2_4285_a0d4_36c01192818f","value":"\"Well done on completing your test. You have your mark. Please put your percentage mark into this program, which will determine what grade you have received. The test you have taken was out of 100 marks, just so you know.\""},{"@type":"Input","name":"Result","id":"id_881e4983_468c_4959_b798_f464bb9292c2","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_b9ac84d8_3e49_4619_81a0_39b243ff024c","value":"\"You result is not satisfactory with the test-markers, so you must retake this test.\""}],"id":"id_099ef018_1bdb_4db9_8360_7f26857f52ae"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_859a8f3f_a472_4d46_a00b_de21ceed0fe8","value":"\"Well done! With a percentage of \" + Result + \"%\" + \",you were \" + (60-Result) + \" marks away from 60%! You have gotten a grade 5.\""}],"id":"id_e225d900_158f_4343_9fa8_838e27e4365c"},"condition":"Result>=50","@type":"If","id":"id_1bd56bd0_3048_438c_a8fe_d8009f00bc4b"}],"id":"id_c835eb3b_eb8f_48bb_a618_adeabaaf4aaf"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_e7a7fac8_2141_4877_81b6_614c49dc1d71","value":"\"Well done! With a percentage of \" + Result + \"%\" + \",you were \" + (70-Result) + \" marks away from 70%! You have gotten a grade 6.\""}],"id":"id_fe3ca4d9_a9d2_4673_b7f0_ac07d4f6caf2"},"condition":"Result>=60","@type":"If","id":"id_ee29a44b_91fd_4433_898d_a2c91836500d"}],"id":"id_00de4886_aacd_4bb2_8b2e_d80bc6b0d026"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_ea99fbee_d4fd_4702_b77c_38bf7ae20608","value":"\"Well done! With a percentage of \" + Result + \"%\" + \",you were \" + (80-Result) + \" marks away from grade 8! You have gotten a grade 7.\""}],"id":"id_82e4b8cf_8171_4254_b939_a4b4f607fb48"},"condition":"Result>=70","@type":"If","id":"id_3b166346_a485_4e0a_84da_c4f5b8f2ecf8"}],"id":"id_121c065e_99f9_479b_8608_d2a3c67b91b9"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_ebcc49e2_76d8_4a39_8401_a50772393058","value":"\"Well done! With a percentage of \" + Result + \"%\" + \",you were \" + (90-Result) + \" marks away from 90%, otherwise known as grade 9. Your final grade is grade 8.\""}],"id":"id_b6da0d0c_4665_4ae4_8776_6ae368482b6d"},"condition":"Result>=80","@type":"If","id":"id_02e3a4f4_1092_4d5c_8897_73428e76237b"}],"id":"id_905de3ff_02c4_46a5_b083_229ce3e9ceed"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_a06db501_ce38_4813_afac_e05e62cf1dd2","value":"\"Well done! With a percentage of \" + Result + \"%\" + \",you were \" + (100-Result) + \" marks away from 100%! You have achieved an excellent grade 9.\""}],"id":"id_4044490f_075d_4671_b46f_3b162def6e7b"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_feccc525_7497_4505_8731_290aa9742a0a","value":"\"With a result of \" + Result + \"%\" + \" ,you definitely cheated.\""}],"id":"id_bcd6e6e6_ec65_44ba_9825_2b620a6437d6"},"condition":"Result>100","@type":"If","id":"id_8680ec65_7a64_43ad_b0cb_57791c2713e0"}],"id":"id_49c32fbd_d212_4df5_9fdc_372af8380725"},"condition":"Result>=90","@type":"If","id":"id_f6e91138_4eb2_4dd8_9fcc_11b88505b300"},{"@type":"Return","id":"id_1a2ea010_ee47_485a_9a60_e5fa78714ca2","maybeValue":null}],"parameters":[]},"id":"id_bcb8ced3_8496_4291_9ad7_a2a888b51a0f","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":1040}