using a while-end loop

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 个评论

Base - 5 & 10 values example?
Liliana Rios
Liliana Rios 2018-10-17
编辑:Liliana Rios 2018-10-17
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
that's the only example that was given for the 2 questions that I have to answer

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by