photo

Antonia Davis


2016년부터 활동

Followers: 0   Following: 0

통계

MATLAB Answers

2 질문
0 답변

순위
68,062
of 300,813

평판
0

참여
2 질문
0 답변

답변 채택
0.0%

획득한 표
0

순위
 of 21,086

평판
N/A

평균 평점
0.00

참여
0 파일

다운로드 수
0

ALL TIME 다운로드 수
0

순위

of 171,169

참여
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...

9년 초과 전 | 답변 수: 1 | 0

1

답변