Square root table without using arrays
Mostrar comentarios más antiguos
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 comentarios
Benjamin Baker
el 15 de Feb. de 2019
James Tursa
el 15 de Feb. de 2019
Please repost your code as regular text (*not* as a picture) highlighted by the "CODE" button in the format bar.
John D'Errico
el 15 de Feb. de 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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
