Question: plz solve asap (b) A sub-routine called Packetize() takes as input an array of bits called Binary of size 1xN and divides it into R

plz solve asap
(b) A sub-routine called Packetize() takes as input an array of bits called Binary of size 1xN and divides it into R packets of size P. It then outputs a two dimensional array called Packets of size RxP. The sub-routine is called as follows from the main program: Packets = Packetize(Binary, N, P); Write down the codes for this sub-routine, assuming that the number of bits N entered must always be divisible by the packet size P. [8 marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
