Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Level 5 > Lesson 4 output is not matching with expected result

Not getting the proper outcome
by

4 Answers

79stjsy
can someone reply to this? It is very frustrating to wait that long. We can not proceed to the next lesson. It breaks the flow. What is the point of paying money to buy a course when you don't have to reply to anyone
iamabhishek
Sorry for the delay. Here is the answer:

package main
import (
"fmt"
"bufio"
"os"
"log"
)

func main() {
fmt.Println("Which programming language are you learning here:")
reader := bufio.NewReader(os.Stdin)
input, err := reader.ReadString('\n')
if err != nil {
log.Fatal(err)
}
fmt.Println(input)
}
79stjsy
Your code's output does not match the expected outcome for this exercise.
Getting the above error after passing the correct code
iamabhishek
Please WhatsApp on +919354261828 for better support.

Login / Signup to Answer the Question.