by @Joory Moeed Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_abe251b2_0bc9_49d0_ab55_a69c2082e9e6"},{"newline":true,"@type":"Output","id":"id_b1235772_9f6f_40bf_9ad0_5bb8ede4da7f","value":"Print Welcome to the Employee Salary System"},{"@type":"Input","name":"Name: Ahmed ID: 101 Working days: 22 Daily working hours:9 Hourly payment rate: 50﷼","id":"id_02e7083d_53cb_4004_aad0_671088aaf6a7","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Total working hours: 22*9=198","lengthValue2":"5","id":"id_15355a6b_f1a5_4ef2_abbb_e6b7a46ae046","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Basic salary: 198*50=9,900","lengthValue2":"5","id":"id_2993e156_29af_415c_b674_519a613d15e8","initValue":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_5ef1403a_20d1_471c_9239_0005bc863cc9","value":"Print bonus rate= 0"}],"id":"id_4ad052a5_1e1d_46fa_88ee_79f8ac485f51"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_47771431_d30c_44ac_9969_e3e177daf9bb","value":"Print Bonus rate =0.05"}],"id":"id_0c843788_23dc_4b45_abaa_3e8f0bd55706"},"condition":"Else If total working hours >= 140","@type":"If","id":"id_51d213a2_ded2_40df_a766_a7f1cccc45dc"}],"id":"id_91abfed4_182d_468a_b390_7786b51b8761"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_af3f3fc4_64c8_42c1_9e86_8b9885ad7e38","value":"Print bonus rate = 0.10"}],"id":"id_941c6a67_d30c_47c9_8382_3a7d971f6e47"},"condition":"Else If total working hours >= 160","@type":"If","id":"id_b3872763_cc4e_4304_9b48_8a5066a63929"}],"id":"id_56090b7d_cbd1_45a5_a40e_995016598eae"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_9ccba657_4cf8_4102_bfb8_cd0a8cc7b4ca","value":"Print bonus rate = 0.15"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Bonus amount = 9,900*0.15=1,485","lengthValue2":"5","id":"id_90c4064b_aa6f_480b_b4d2_4b5318296434","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Final salary= 9,900+1,485=11,385","lengthValue2":"5","id":"id_cde27f09_c147_4cef_8a5f_76def6730093","initValue":null},{"newline":false,"@type":"Output","id":"id_52013eac_013f_4426_a4cd_4d1e903669d0","value":"Name: Ahmed ID: 101 Total working hours:198 Basic salary:9,900 Bonus amount: 0.15 Final salary: 11,385"},{"newline":true,"@type":"Output","id":"id_eb5fb4a8_1b7b_40dd_83ec_3f8b7f350e9c","value":"Print Thank You"}],"id":"id_5dd66a2b_7cc0_4756_9027_ded96d7bd15d"},"condition":"If total working hours >= 180","@type":"If","id":"id_e099f4b2_7c32_4fcd_9df4_0ff5d94e7bbc"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"x","lengthValue2":"5","id":"id_11ccbc35_ae75_4dc1_91c2_48bf7a3e44ef","initValue":null},{"@type":"Return","id":"id_392b40fa_828f_4a83_a6b9_6b13458ab9d3","maybeValue":null}],"parameters":[]},"id":"id_bffd16b9_01e9_4e3e_a0d7_52d3ded64e26","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":1407}