photo

Antonia Davis


Actif depuis 2016

Followers: 0   Following: 0

Statistiques

MATLAB Answers

2 Questions
0 Réponses

RANG
224 818
of 300 857

RÉPUTATION
0

CONTRIBUTIONS
2 Questions
0 Réponses

ACCEPTATION DE VOS RÉPONSES
0.0%

VOTES REÇUS
0

RANG
 of 21 097

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG

of 171 361

CONTRIBUTIONS
0 Problèmes
0 Solutions

SCORE
0

NOMBRE DE BADGES
0

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

Feeds

Afficher par

Question


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'); ...

plus de 9 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 10 ans il y a | 1 réponse | 0

1

réponse