mirror of
https://github.com/bootdotdev/fcc-learn-golang-assets.git
synced 2025-12-18 03:01:16 +00:00
21 lines
421 B
Go
21 lines
421 B
Go
package main
|
|
|
|
func getSMSErrorString(cost float64, recipient string) string {
|
|
// ?
|
|
}
|
|
|
|
// don't edit below this line
|
|
|
|
func test(cost float64, recipient string) {
|
|
s := getSMSErrorString(cost, recipient)
|
|
fmt.Println(s)
|
|
fmt.Println("====================================")
|
|
}
|
|
|
|
func main() {
|
|
test(1.4, "+1 (435) 555 0923")
|
|
test(2.1, "+2 (702) 555 3452")
|
|
test(32.1, "+1 (801) 555 7456")
|
|
test(14.4, "+1 (234) 555 6545")
|
|
}
|