Created
February 8, 2021 03:15
-
-
Save davidseek/06a9abd32e3a27edf986650b78bc170d to your computer and use it in GitHub Desktop.
hotel.swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// I'm creating a hotel class | |
class Hotel { | |
// And I'm giving it the following defintions for some functions | |
// One function to check a dog in that returns a roomID | |
func checkIn(_ dog: Dog) -> String | |
// And one function that checks the dog out. | |
func checkOut(_ dog: Dog) -> Dog? | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment