Write a function for the addition of two numbers-00660
This subjective question is related to the book/course vu cs403 Database Management Systems. It can also be found in vu cs403 Mid Term Solved Past Paper No. 6.
Question 1: Write a function for the addition of two numbers?
var a,b,c;
a = 1;
b = 2;
c = a+b;
document.write("The addition of 1 and 2 gives " + c + "<br>" );
}
Answer:
Function add() {var a,b,c;
a = 1;
b = 2;
c = a+b;
document.write("The addition of 1 and 2 gives " + c + "<br>" );
}