Square root table without using arrays
Show older comments
I have to create a square root table like the one in the first comment. I can't use arrays, and have to print the results in the format displayed at the bottom of the assignment.
Here's what i have, and what it produces: 


3 Comments
Benjamin Baker
on 15 Feb 2019
James Tursa
on 15 Feb 2019
Please repost your code as regular text (*not* as a picture) highlighted by the "CODE" button in the format bar.
John D'Errico
on 15 Feb 2019
So what is the question? Where is the problem? All we know is what your assignment is. Are you asking for advice? Use a loop.
Accepted Answer
More Answers (0)
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!