{"functions":[],"name":"modDivision","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_2df6e1f8_2c42_493e_bbd3_6c4bcc58681b"},{"@type":"Comment","id":"id_058b178c_1a3e_4cba_bdaf_1d8110a63cbf","text":"declare four integers: num1, num2, result1, result2"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"num1","lengthValue2":"5","id":"id_3f149faf_54ef_4619_9c24_3fd53f98d4a0","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"num2","lengthValue2":"5","id":"id_e843406a_0007_4c07_8eb3_e5b6732c9f54","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"result1","lengthValue2":"5","id":"id_8fbc63c2_938d_426c_ae68_28b916c1b557","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"result2","lengthValue2":"5","id":"id_2a6ac147_6dc1_45ba_8fcd_d3a02d97be2b","initValue":null},{"@type":"Comment","id":"id_c745f75d_8c63_4f8d_bc6f_f9825e7773b9","text":"assign a value to num1"},{"@type":"Assign","name":"num1","id":"id_fc3b195c_a192_46f3_904c_487c94964221","value":"5"},{"@type":"Comment","id":"id_f8bb8254_67c6_482f_b3fd_28fd16727c39","text":"assign a value to num2"},{"@type":"Assign","name":"num2","id":"id_c7effea5_9287_46b8_b7cf_43bdb57678b9","value":"2"},{"@type":"Comment","id":"id_ed8576ed_21f2_4877_b9f4_e81f28a58be8","text":"use regular division (/) to get a quotient"},{"@type":"Assign","name":"result1","id":"id_91a3137b_e285_4f0c_89fd_da29c124fee7","value":"num1 / num2"},{"@type":"Comment","id":"id_82622769_192c_4f8e_9e29_0c69d1654905","text":"use modular division (%) to get a remainder"},{"@type":"Assign","name":"result2","id":"id_736e3f35_5e1f_418e_aea4_daae29ee65d8","value":"num1 % num2"},{"@type":"Comment","id":"id_a5a17ff3_3007_4df5_9893_b0314ba53e5b","text":"display the quotient"},{"newline":true,"@type":"Output","id":"id_941d71d1_ade8_4a61_ad65_50da3d4a418b","value":"\"num1 / num2 = \" + result1"},{"@type":"Comment","id":"id_5e290072_f69f_4130_b427_19d258db0c95","text":"display the remainder"},{"newline":true,"@type":"Output","id":"id_8c37d739_c227_4299_8f54_68803927035d","value":"\"num1 % num2 = \" + result2"},{"@type":"Return","id":"id_60702b09_95d5_44ee_a943_95bfab1023f7","maybeValue":null}],"parameters":[]},"id":"id_7d29851e_7add_40c8_9c4b_bba94a93cf0e","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":169}