Info
This question is closed. Reopen it to edit or answer.
#Homework #help
1 view (last 30 days)
Show older comments
write a matlab function ( one function) to do all the following: the function name is sumyourname 1- add all numbers from 3 to 1001 save the result in Sum display the resultadd all odd numbers from 3 to 1001 save the result in sumodd display the resultadd all even numbers from 3 to 1001 save the result in summeven display the resultwhich is bigger summodd or summeven display the result summeven is bigger or sumodd is bigger
2 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!