Post
Replies
Boosts
Views
Activity
import Foundation
struct Question: Hashable {
let questionText: String
let possibleAnswers: [String]
let correctAnswerIndex: Int
static let allQuestions: [Question] = [
Question(questionText: "What was the first computer bug?",
possibleAnswers: [
"Fly",
"Moth",
"Ant",
"Beetle",
],