need help with my homework!
Write a C++ program which includes the following: ⢠Read 5 student idâs into an array, ⢠Ask the user to choose a department (0 for CMPE, 1 for SE and 2 for ISE), ⢠Form a new array composed of student idâs of the chosen department by calling a function, ⢠Output the resulting array. ⢠The function should have 4 parameters: original array, newly formed array, size of the newly formed array and the user choice. Decide which parameter will be call by value, which will be call by reference. Sample Run: Enter 5 student idâs: 160302321 150309062 150308211 140309564 130302784 Choose a department, enter 0 for CMPE, 1 for SE and 2 for ISE: 2 The students in this department: 150309062 140309564 i could do it if it doesn't contain annoying functions :(. Please help!