Use a while-end loop to find the base-5 place value larger than the base-10 number 4,219.
Use a while-end loop to find the first base-10 place value larger than the base-5 number 14,241.

4 commentaires

madhan ravi
madhan ravi le 17 Oct 2018
Base - 5 & 10 values example?
Liliana Rios
Liliana Rios le 17 Oct 2018
Modifié(e) : Liliana Rios le 17 Oct 2018
Use a while-end loop to display the first 6 place values for base 5.
i=1;limit=6;while i<=limit;p=5^(i-1);display(p);i=i+1;end
the answer; p= 1 p=5 p=25 p=125 p=625 p= 3125
Liliana Rios
Liliana Rios le 17 Oct 2018
that's the only example that was given for the 2 questions that I have to answer

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by