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!

Risposte (1)

Walter Roberson
Walter Roberson il 10 Mar 2022
Modificato: Walter Roberson il 10 Mar 2022
help for
help input
help sum
help abs

Categorie

Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange

Richiesto:

il 9 Mar 2022

Modificato:

il 10 Mar 2022

Community Treasure Hunt

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

Start Hunting!

Translated by