Saturday, 4 October 2014

Script- to wite a function to add and multiply two numbers

Dim n1,n2
Function add_multiply(n1,n2)
   print("addition of "&n1&" and "&n2&  " is " &n1+n2)
   print ("multiplication of" &n1&" and "&n2&  " is " &n1*n2)
End Function
add_multiply 56,67



OUTPUT_______________________________________



No comments:

Post a Comment