How to repeat input prompt for each data set?
Ältere Kommentare anzeigen
I am trying to find resultant force through inputs of magnitude and direction, I am first required to input how many data sets 1-10. I can get my program to repeat but whatever is the last input for both my magnitude and direction just overwrites the other inputs I had just put in for them. How do I make it so that each inut pair of magnitude and direction can be used to find their own corresponding resultant force?
4 Kommentare
Ajay Kumar
am 22 Mär. 2020
Can you briefly explain how do you enter inputs and how you want the expected output?
Marshall Cook
am 22 Mär. 2020
Marshall Cook
am 22 Mär. 2020
Ajay Kumar
am 23 Mär. 2020
check answer
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Programming finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!