Ask the user to enter a positive integer. Calculate the floor of the inputted value's square root(so basically calculate the closest integer value equal to, or less than, its square root) output the result.
Info
This question is closed. Reopen it to edit or answer.
Show older comments
this is for c++ programming not matlab.
1 Comment
John D'Errico
on 22 Oct 2013
Sorry, but this is not the place to ask questions about C++ programming. So why would you specifically ask that question on a place dedicated to MATLAB?
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!