CODE
:- <html> <head> <title>Max-3</title> <script
type="text/javascript"> var
a,b,c; a=parseInt(prompt("Enter
A=")); b=parseInt(prompt("Enter
B=")); c=parseInt(prompt("Enter
C=")); if(a>b&&a>c) { document.write("A
Is Max="+a); } else
if(b>a&&b>c) { document.write("B
Is Max="+b); } else { document.write("C
Is Max="+c); } </script> </head> <body> </body> </html> |
No comments:
Post a Comment