main.swift219 chars10 lines
Explanation:
inputString
is the string we want to count the instances of letter "e"countOfE
variable is initialized as 0, which will be updated by the code later.inputString
countOfE
variable by 1.countOfE
.gistlibby LogSnag