Info

This question is closed. Reopen it to edit or answer.

#Homework #help

1 view (last 30 days)
Amjed Bakhsh
Amjed Bakhsh on 12 Nov 2020
Closed: John D'Errico on 12 Nov 2020
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

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!