Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Icdt 88 2nd International Conference On Database Theory Bruges Belgium August 31 September 2 1988 Proceedings Lncs 326

Authors: Marc Gyssens ,Jan Paredaens ,Dirk Van Gucht

1st Edition

3540501711, 978-3540501718

More Books

Students also viewed these Databases questions