Signup/Sign In
user profile picture

Divya Subhash Lonari

divyalonari

Joined 10 months ago

Answers

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

function areaOfRect(length, breadth)
{
// write code here
return length * breadth;
}

let area;
area = areaOfRect(7,9);
console.log("Area of Rectangle is: ", area);
6 months ago
level 7 lesson 7 Javascript

let fruit1 =['Mango', 100];
let fruit2 =['Apple', 50];

let fruitList =[fruit1, fruit2];
// log the fruitList array on console
console.log(fruitList);
6 months ago
let x = "STUDYTONIGHT";

// code here
console.log(x[1]+x[7]+x[11]);
7 months ago
let i = 0;
do
{
console.log("--" + i + "--");
i += 5;
}
while(i<=50);
8 months ago