Create a nested struct to store a person’s name, address, and phone numbers. The struct should have 3 fields for the name, address, and phone. The address fields and phone fields will be structs
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:8| Question number:22.8
All Answers
total answers (1)
>> person = ...
struct('name','Mary','address',struct('street',...
'226 West Elm Rd','City','Boston','State','MA',...
'ZipCode',02215),'PhoneNum',struct('AreaCode',...
617,'Number',9156687));
need an explanation for this answer? contact us directly to get an explanation for this answer