(Solved) : 8 Let Us Go Back Idea Structures Let Us Put Together Data Ce 640 Oc 512 Could Oc512student Q43926325 . . .
8. Let us go back to the idea of structures. Let us put together some data for CE 640 and OC 512. We could do this: oc512student(1).firstname=’Greg’: oc512student(2).firstname=’Mary’; oc512student(1). lastname=’Jones’; oc512 student(2) lastname=’Smith’; oc512student(1).examscore-[96 95]; oc512student(2).examscore[87 75); to create a structure for OC512 students. Next, I would like you to make a similar structure called ce640student. It needs to have the same fields. BUT, I would like you to make it have three entries per field. In other words, enter data (you can make it up) for three students, not two. Having done this, please figure out a way to concatenate your two structures into a single structure array called ‘combined students’ Show transcribed image text 8. Let us go back to the idea of structures. Let us put together some data for CE 640 and OC 512. We could do this: oc512student(1).firstname=’Greg’: oc512student(2).firstname=’Mary’; oc512student(1). lastname=’Jones’; oc512 student(2) lastname=’Smith’; oc512student(1).examscore-[96 95]; oc512student(2).examscore[87 75); to create a structure for OC512 students. Next, I would like you to make a similar structure called ce640student. It needs to have the same fields. BUT, I would like you to make it have three entries per field. In other words, enter data (you can make it up) for three students, not two. Having done this, please figure out a way to concatenate your two structures into a single structure array called ‘combined students’
Expert Answer
Answer to 8. Let us go back to the idea of structures. Let us put together some data for CE 640 and OC 512. We could do this: oc51…
OR