Computer Science, asked by hdsubhedar26, 11 months ago

Q.3 Find out error if any in following
javascript code.
var length ,breadth;
length=4.5;
breadth=6;
area=1/2*length*breadth;
document.write("Area of triangle
is"area);​

Answers

Answered by joshikavita80
8

Explanation:

NOT DOCUMENT.WRITE IT SHOULD BE System.out.println

Similar questions