Started noticiation logic.

This commit is contained in:
Aaron
2021-01-21 13:46:08 -05:00
parent 9312184177
commit 2eeb560fbb
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ let c = MathExpression.random()
}
class quadraticProb{
class QuadraticProb{
let a = Int.random(in: 1...10)//ax^2
let b = Int.random(in: 1...10)//bx
+6
View File
@@ -28,7 +28,13 @@ func jumpAction() {
}
func puzzleAction() {
var problem = QuadraticProb()
let answer = problem.getAnswer()
let problemString = problem.getProblem()
print("Problem: \(problemString)")
print("Answer: \(answer)")
}
func smashAction() {