Trying to write a function with random, input and fprint
古いコメントを表示
I am trying to write a function that asks for names, for example it should first ask, What are the names of the players. Then is should pick one name with rand and decide if the player should play goalkeeper, defencer, midfielder og striker. Then it should print out for example... David is going to play as a striker. I have tried everything but i dont get it to work!
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で View and Analyze Simulation Results についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!