1から6までの独立かつランダムな数値を返すような関数を作成しましょう。

例:

>> [x1,x2] = rollDice();

と入力すると

x1 = 5
x2 = 2

のような解を返します。

Solution Stats

985 Solutions

397 Solvers

Last Solution submitted on Feb 01, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...