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

Level 6/Lesson 8

package main
import "fmt"

func areaOfRect(length float64, breadth float64) float64 {
return (length*breadth)
}

func main() {
area := areaOfRect(7,9)
fmt.Println("Area of Rectangle is: ", area)
}

This code is not getting submitted.
by

2 Answers

Krishnaiz28o
It worked but it ideally shouldn't have a problem like that, since the output and code itself is correct. Due to that error I couldn't go forward in the course even after I bought it. Atleast, there should be an option to go to the next lesson if the current one isn't completed.

Login / Signup to Answer the Question.