Skip to content

Commit

Permalink
add new Swift Language (#158)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Vittiglio <[email protected]>
  • Loading branch information
andr3wV and Andrew Vittiglio authored Oct 12, 2022
1 parent 5929118 commit 2cc37bc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Swift/andr3wV.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
func coffeeToCode(input: String = "Nothing"){
print("You have \(input).");
if(input=="Coffee") { print("You have Code!") }
else { print("You have no Coffee!!") }
}


coffeeToCode(input: "Coffee")

0 comments on commit 2cc37bc

Please sign in to comment.