answersLogoWhite

0


Best Answer

<html>

<head>

</head>

<script language="VBscript">

sub fact(n)

dim f,i

f=1

i=1

do while(i<=cint(n))

f=cint(f)*cint(i)

i=i+1

loop

document.write("<br>Factorial of"&n&"is"&f)

end sub

</script>

<body>

<form name="form1" method="post" action=" ">

<input name="n" type="text" id="n">

<input name="Button" type="button" onClick="fact(form1.n.value)" value="Factorial">

</form>

</body>

</html>

User Avatar

Wiki User

10y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

What is "No"?

Did I win?

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: VB Script program to display multiplication of two matrices?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a program in shell script to display odd number from 0 to 100?

seq 1 2 99


How do you add two matrices using Linux shell script?

write ashell script to add awo matrix using array.


How do you make a program in python using do while loop to display the multiplication table of number from one to ten?

a = 0while a < 10 :a += 1print (a)Write the above simple script in a text editor (I use nano). Save as loop.py in home folder. To run, open a terminal and at the prompt, write: python loop.pyResult:rodney@downstairs:~$ python loop.py12345678910


Can you give a sample script as an emcee for valentines program?

script in hosting valentines day program


Write a shell program called whos to display a sorted list of the logged in usersJust display the user names and no other information?

The 'users' command should do that; you don't need to write a shell script to get that information in that format.


Debut program script for emcee?

program flow of debut


Could you please provide me an script for nutrition month program?

a script about nutrition month


What command do you use to display a message in java script?

document.write("hello world")


Can you give me a sample script for a recognition program?

check


What is embedding java script?

To embed JavaScript code is to include it in the HTML page. For example, this will embed the code to display an alert: &lt;script type="text/javascript"&gt; alert("Embedded alert!"); &lt;/script&gt;


How do you write a flash program?

Action Script 1.0 to Action Script 3.0 depending on the version of Flash you are using.


What site can you get the princess protection program script for free and with no downloading needed?

you can find the princess protection program script on Google and check possible links to the script. that's what i did and now I've directed over 3 plays of ppp