From 6fc01e22ace1713759addc405f6d6ff71a62a74a Mon Sep 17 00:00:00 2001 From: Sahil Naik Date: Sun, 17 Dec 2023 19:15:48 +0530 Subject: [PATCH] feat: datatype improved --- Languages/Go/Basics/datatype.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Languages/Go/Basics/datatype.go b/Languages/Go/Basics/datatype.go index be5e631..dbab035 100644 --- a/Languages/Go/Basics/datatype.go +++ b/Languages/Go/Basics/datatype.go @@ -28,9 +28,8 @@ func main () { s := "Kaiwalya Koparkar" fmt.Println(s); - fmt.Print(b) - fmt.Print("Welcome ", str, " your marks are ", i, "\n"); - fmt.Println(f) + fmt.Println(b) + fmt.Printf("Welcome %v, your marks are %v \n", str, f); fmt.Printf("Your grades are %d \n", i) - fmt.Print(name) + fmt.Println(name) } \ No newline at end of file