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!

Antworten (1)

Walter Roberson
Walter Roberson am 10 Mär. 2022
Bearbeitet: Walter Roberson am 10 Mär. 2022

0 Stimmen

help for
help input
help sum
help abs

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 9 Mär. 2022

Bearbeitet:

am 10 Mär. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by