0

What will be possible error in following code

<html> <head> <title>multiplication table</title> </head> <body> <h1>multiplication table</h1> <script language="javascript"> var i,n; n=prompt("enter a number","10"); for(i=0;i<=10;i++) { document.write(i+"*"n+"="(n*i)+); } </script> </body> </html>

24th Jul 2019, 2:17 PM
Usman Zafar
Usman Zafar - avatar
4 Answers
0
document.write(i+"*"n+"="(n+*i)+); Again have syntax error
24th Jul 2019, 2:34 PM
Usman Zafar
Usman Zafar - avatar
0
Got my problem solved... Thanks respected sir Dr. Doggo and respected ace for ur guidance...
25th Jul 2019, 5:12 AM
Usman Zafar
Usman Zafar - avatar