Signup/Sign In

Answers

All questions must be answered. Here are the Answers given by this user in the Forum.

It is OK. In this lesson, you will get error. Just click on Submit and proceed to the next lesson. It will work.
2 years ago
There is some issue with blanks, if you revisit the app, it should be fixed now.

This is the correct code:
***
package main
import "fmt"

func areaOfRect(length float64, breadth float64) float64{
// write code here
return length*breadth
}

func main() {
area := areaOfRect(7,9)
fmt.Println("Area of Rectangle is:", area)
}
***
2 years ago
Correct answer:

***







Studytonight




***
2 years ago
You can navigate back. You will see the Hamburger menu on top-right corner of the Lessons Section, click on it, you will see the sidebar, from there click on the Level and then on the Lesson on which you want to navigate.
2 years ago
Done?
2 years ago
What is happening when you are trying to Resume the course? Is it showing the Course complete popup? If possible please share a screen recording on our Whatsapp number - +91-9354261828 or you can share it on email - we@studytonight.com
2 years ago
Please share the level number and lesson number for the exercise so that we can improve it. Or this is your general suggestion for all exercises?
2 years ago
Thank you for letting us know, we have fixed few parts of the exercise. Your code is correct. Please try this code:
***
#include

float calculatePrice(float price, int discount) {
float finalPrice = price - (price * discount / 100);
return finalPrice;
}

int main() {
float fp = calculatePrice(150, 10);
printf("The price is %.1f", fp);
return 0;
}
***
2 years ago
I have updated the code example. I have added @media query to provide different styling for screen width 500px or less.

I have used flex-direction property. By default used the flex-direction:row and for small screen size changed it to flex-direction:column for .counter-container class.
2 years ago
In the first lesson all you have to do is write: My name is Abhishek (use your name instead, that's it)
2 years ago
Terminal is nothing but the Code Editor.
2 years ago
The Editor is termed as the terminal in the HTML course. So please don't get confused.
2 years ago