

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


CS1371 – Test 2 Version C Solutions October 24th, 2007
function ret = recursive_Cap(vec) if length(vec)== ret = 0; else temp = vec(1); if ((temp>=65) && (temp<=90)) ret = 1 + recursive_Cap(vec(2:end)); else ret = recursive_Cap(vec(2:end)); end end B. E. None of the above A. ret = 0. B. ret = 200 C.
CS1371 – Test 2 Version C Solutions October 24th, 2007