Question: We can construct an array of structures. For example, suppose we have the following table: table [ [ Name , Job,Num ] , [
We can construct an array of structures. For example, suppose we have the following table:
tableNameJob,NumDougTeacher,LorenDeveloper,JiroDoctor,
We want to create an array of structures called people. The structures in people will be name, job, num. For example, people name 'Doug'.
Write a script file that answers the following questions:
a Finish defining the array of structures in the variable people.
b Return the letter in 'Doug' using the array of structures.
c Write the following code fragment in your script. If your structure is defined correctly, the code should work without error.
for :
fprintf The name of employee d is sin people jnum, people jname; end
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
