Q:

Trace this; what will it print?

0

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

for i = 1:length(parts)

 fprintf('Part %c weight is %.1f\n',...

 parts(qi(i)).code, parts(qi(i)).weight)

end

Part x weight is 4.5

Part a weight is 4.1

Part y weight is 2.2

Part z weight is 3.6

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now