photo

Antonia Davis


2016 年からアクティブ

Followers: 0   Following: 0

統計

MATLAB Answers

2 質問
0 回答

ランク
224,814
of 300,853

評判
0

コントリビューション
2 質問
0 回答

回答採用率
0.0%

獲得投票数
0

ランク
 of 21,094

評判
N/A

平均評価
0.00

コントリビューション
0 ファイル

ダウンロード
0

ALL TIME ダウンロード
0

ランク

of 171,319

コントリビューション
0 問題
0 解答

スコア
0

バッジ数
0

コントリビューション
0 投稿

コントリビューション
0 パブリック チャネル

平均評価

コントリビューション
0 ハイライト

平均いいねの数

Feeds

表示方法

質問


I am trying to write a matlab code to check a solved 9X9 sudoku problem. I can't seem to get it to work. Any ideas where I went wrong?
function valid = sudoku (m) valid = (size(m) == [9, 9]); if (~valid) fprintf('Sudoku: size must be 9x9\n'); ...

9年以上 前 | 1 件の回答 | 0

1

回答

質問


I am having trouble with a problem I am working on. The code works until I get to the next step which is a menu asking if the player wants to play the same game again. I can't seem to get it to loop back to the correct spot.
|i=1 while i>=1; choice = menu('Do you want to play a game?: ','yes','no') if choice == 2 error('Program wil...

10年弱 前 | 1 件の回答 | 0

1

回答