Question: Write go code What can I use to solve this Question? countalpha Instructions Write a function CountAlpha ( ) that takes a string as an
Write go code What can I use to solve this Question?
countalpha
Instructions
Write a function CountAlpha that takes a string as an
argument and returns the number of alphabetic characters
in the string.
Expected functions
func Countalphas string int
Usage
Here is a possible program to test your function:
package main
Import
"fat"
func main
fat.PrintlnCountAlphaHello world"
fat.PrintlnCountAlphaH e l l o
fant.PrintlnCountAlphaHe
And Its output:
$ go run
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
