Question: % ( a ) Create a string array called names with five different names. % For the purposes of this exercise choose the following names:
a Create a string array called names with five different names.
For the purposes of this exercise choose the following names:
Jose Pieter Heidi Xian Sara
names Jose"Pieter","Heidi","Xian","Sara"
b Create a twodimensional numeric array called birthdays to represent the birthday
of each person using the following data.
These dates are ordered as month, day, year.
birthdays ; June
; March
; June
; December
; December
c Use the sprintf function to create and display a combined list of names and birthdays.
Name your list, friends.
friends stringssizenames; Initialize a string array for the output
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
