Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Laboratoriska</title>
- </head>
- <body>
- <script>
- k1=prompt("Broj 1 :");
- k2=prompt("Broj 2:");
- k3=prompt("Broj 3:");
- n=k1*k2*k3;
- if(n<0){
- document.write("Znakot e: -");
- }
- else if(n>0){
- document.write("Znakot e: +");
- }
- else {
- document.write("Proizvodot e 0");
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement