You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"git.kiefte.eu/lapingvino/prompt"
|
|
)
|
|
|
|
func main() {
|
|
fmt.Print("Enter a string: ")
|
|
s := prompt.MustRead[string]()
|
|
fmt.Print("Now enter a complex number: ")
|
|
c := prompt.MustRead[complex128]()
|
|
fmt.Println(s, c)
|
|
}
|