Writing a while loop

13 visualizaciones (últimos 30 días)
Nathan Johnson
Nathan Johnson el 23 de Sept. de 2020
Respondida: madhan ravi el 23 de Sept. de 2020
How would I code a "while loop" to repeatedly divide the given variable number (initial value given as 100,000) by seven (7) until the value remaining is less than 1? Also within the look how would I count then number of iterations?

Respuestas (1)

madhan ravi
madhan ravi el 23 de Sept. de 2020

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by