Can you tell us what the problem is that you want to solve? The code3 seems
to run just fine.
On Thursday, March 4, 2021 at 11:31:57 AM UTC-5 Tareq Ibna wrote:
> package main
> import "fmt"
>
> func main(){
>
> //I want to solve this peoblen with fmt.Println() please help.
>
>
> var a, b ,c float32
>
> fmt.Println(" Enter 1st number:" )
> fmt.Scan( &a)
>
> fmt.Println(" Enter 2nd number:" )
> fmt.Scan( &b)
> c= a/b
>
> fmt.Printf(" %.2f", c)
>
>
>
>
> }
>
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/ad1cd4cc-9715-4319-a29e-66c8c32c9c9an%40googlegroups.com.