Skip to content

Instantly share code, notes, and snippets.

View yoliOms's full-sized avatar

yolioms yoliOms

View GitHub Profile
@yoliOms
yoliOms / optionals.swift
Created November 5, 2021 19:33 — forked from TheMuellenator/optionals.swift
iOS repl.it - Optionals Challenge Solution
//Don't change this
var studentsAndScores = ["Amy": Int(readLine()!)!, "James": Int(readLine()!)!, "Helen": Int(readLine()!)!]
func highestScore(scores: [String: Int]) {
//Write your code here.
let a = studentsAndScores["Amy"]!
let b = studentsAndScores["James"]!
let c = studentsAndScores["Helen"]!