Using an if statement, write the code to test amt1 being equal to 100 Write it in Javascript
var amt;
// code to initialize the variable amt
// if amt is equal to 100
if( amt == 100 ){
alert("amt is equal to 100.");
}
// if amt is not equal to 100
else{
alert("amt is equal not to 100.");
}
Using an if statement, write the code to test amt1 being equal to 100 Write it...