Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Læringsmål:

  • Store programmer
  • Betingelser
  • WHILE-løkker
  • Funksjoner
  • Matriser
  • Utskrift
  • Doble FOR-løkker

Pensum

  • 3.3 - Input and Output
  • 3.7 User-Defined Functions That Return a Single Value
  • 4.1 The if statement
  • 4.2 The if-else statement
  • 4.3 Nested if-else statements
  • 5.1 The FOR loop
  • 5.2 Nested FOR loops
  • 5.3 While loops
  • 5.4 Loops with Vectors and Matrices: Vectorizing
  • Chapter 6 - MATLAB ProgramsKap 6

 

I denne oppgaven skal du implementere det populære spillet tre-på-rad. Spillet er for to spillere; x og o.

...