Just use the <input type="text"> and <input type="password">. You can also use the prompt() function, but... I'd recommend against it, since it doesn't get censored and is also just plain annoying.
Use a counted for loop. On each iteration, multiply the control variable by 2 and print the result.
the input password is :password
dim a input a
Certainly! A simple password checking program for the 8086 microprocessor can be implemented using Assembly language. The program would typically store a predefined password in memory, prompt the user to input their password, and then compare the input with the stored password using string comparison instructions. If the passwords match, it can display a success message; otherwise, it can indicate a failure. Here's a basic outline of the logic: ; Assume the predefined password is "PASS" ; Input from the user is stored in a buffer ; Use string comparison instructions to validate the password For a complete implementation, you would need to set up the data segment, handle user input, and implement string comparison routines.
function validate(form) { var e = form.elements; /* Your validation code. */ if(e['password'].value != e['confirm-password'].value) { alert('Your passwords do not match. Please type more carefully.'); return false; } return true; } with a form along the lines of <form action="..." method="post" onsubmit="return validate(this);"> <label>Password: <input type="password" name="password" value=""> </label> <label>Confirm password: <input type="password" name="confirm-password" value=""> </label> </form>
write a c program that takes a binary file as input and finds error check using different mechanisms.
Javascript is a browser-run script, so I highly doubt that Javascript possesses the capabilities to create 3-D images, but it can input them into the webpage.
<script type = "text/javascript"> var input; var rev = 0; input=window.prompt ("Please enter a 5-digit number to be reversed."); input = input * 1; while (input > 0) { rev *= 10; rev += input % 10; input /= 10; } document.write ("Reversed number: " + rev); </script>
Write a program in c++ that take input in a integer matrix of size 4*4 and find out if the entered matrix is diagonal or not.
write a program that reads in the size of the side of square and then pints a hollow square of that size out of asterisks and blanks?
<input type="text" /> That could be used for a username <input type="password" /> That could be used as a password.
<html> <head> <script type="text/javascript"> function series() { var i=1 while(i<=10) { document.write(i+"<br>") i=i+2 } } </script> </head> <body> <form action="#" name=f1> <input type=button value="generate series" onclick="series()"> </form> <br><span id="outtab"></span> </body> </html>