Info

此问题已关闭。 请重新打开它进行编辑或回答。

#Homework #help

1 次查看(过去 30 天)
Amjed Bakhsh
Amjed Bakhsh 2020-11-12
关闭: John D'Errico 2020-11-12
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

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by