4. Consider the following code block: spring-holidays [.Nowruz,;. Purin,,, penta
ID: 3604666 • Letter: 4
Question
Explanation / Answer
4.Ans)
spring_holidays = ['Nowruz';'Purim';'Pentacost';'Chinese New Year'];
printf ('this is the output')
printf(' ')
spring_holidays
5.Ans)
spring_holidays = {'Nowruz';'Purim';'Pentacost';'Chinese New Year'};
for k = 1 : size(spring_holidays)
spring_holidays{k}
end
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.