Signup/Sign In

Answers

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

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)
}
***
7 months ago
Correct answer:

***







Studytonight




***
9 months 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.
9 months ago
Done?
9 months 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
9 months 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?
10 months 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;
}
***
10 months 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.
10 months ago
In the first lesson all you have to do is write: My name is Abhishek (use your name instead, that's it)
10 months ago
Terminal is nothing but the Code Editor.
10 months ago
The Editor is termed as the terminal in the HTML course. So please don't get confused.
10 months ago
HTML5 added new features in HTML. It is not different from HTML, but just adds new tags and attributes to HTML so that modern web applications can be created using HTML elements. Now we have a lot of different INPUT types to create different types of input fields.

Support for Video and Audio tags, data- attributes, etc. a lot of things have been added.
11 months ago