Loop and sum, pls help!!!!

how can i cfreate a loop to read in 5 random numbers given by the users and then calculate the sum of that 5 numbers? also how can i use abs () function for this question as well?
thanks in advance!

回答 (1 件)

Walter Roberson
Walter Roberson 2022 年 3 月 10 日
編集済み: Walter Roberson 2022 年 3 月 10 日

0 投票

help for
help input
help sum
help abs

カテゴリ

ヘルプ センター および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

質問済み:

2022 年 3 月 9 日

編集済み:

2022 年 3 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by