It is referred to as
softwareSoftware consists of an entire set of programs and routines
linked with the operation of a computer. In other words, it is a collection of
executable instructions that enable you to interact with a computer and its
hardware. A computer would be rendered useless without software.
Answer:
Following are the program code to display the even number in JavaScript is given below .
Explanation:
For creating this we are using two files
HTML code:
<html>
<head>
<title> Display single digit even numbers from 1 to 10.</title>
</head>
<body>
</body>
</html>
JavaScript code (.js)
for (var i=1; x<10; i++) // iterating loop
{ switch(i%2) // check the condition of even number
{
case 0:
console.log(i + " "); // display even number
break;
}
}
Output:
2 4 6 8
Following are the description of program
- In this program we have created the two file first is HTML file and second is JavaScript file.
- The HTML file simply display the message on the web page .
- In the JavaScript code we iterated the for loop from 1 to 10 .In this for loop we checking the condition in the switch block .
- The case 0 described the even number and it executed that block inside the case 0.
- Finally print the even number .
Its a cop of any emailmeassage sent to a recipient whose email address does not appear as a recipient in the message.
Most likely not but I think you’ll have to log in your account like if you have an Apple phone . You’ll have to log into your Apple ID
Answer:
function userAgeCheck(event){
// if age is in range 18 to 100
// parseInt() converts string into integer
if( parseInt(userAge.value) >= 18 && parseInt(userAge.value) <= 100 ){
// set color to light green
document.body.style.backgroundColor = "green";
userAgeValid = true;
}
else{
// set color to orange
document.body.style.backgroundColor = "orange";
userAgeValid = false;
}
}
Explanation: