Find out errors if any in the following java script code: var length, breadth; length = 4.5; breadth = 6;
Find out errors if any in the following java script code:
var length, breadth;
length = 4.5;
breadth = 6;
area = 1/2*length*breadth;
document. write(“Area of triangle is” area);
7 views
1 Answers
Concatenate Operator ‘+’ is missing document.
write(“Area of triangle is” [+] area);
7 views
Answered