Explanation:
Work out what cookies your site sets, and what they are used for, with a cookie audit.
Tell your visitors how you use cookies.
Obtain their consent, such as by using Optanon, and give them some control.
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:
Answer:
conjunto de información que se encuentra en una dirección determinada de Internet
<span>the answer is: the same background color on all visuals and no more than two colors for words.</span>
Answer:
The program to calculate factor can be given as:
Program:
#include <stdio.h> //include header file
int main() //defining main function
{
int a,i; //defining integer variable
printf("Enter any number: "); //print message
scanf("%d",&a); //input value from user end
for(i=1;i<=a;i++) //loop for calculate factor values
{
if(a%i==0) //define condition for factor
{
printf("%d\n",i); //print values
}
}
return 0;
}
Output:
Enter any number: 15
1
3
5
15
Explanation:
In the above C language program the header file is include that provide the use of basic function, in the next line the main method is defined, inside this method two integer variable "a and i" is defined in which variable a is used to take value from user end and variable i is used in loop and conditional statement.
- In the next step, for loop is declare, that start from 1 and end with value of variable a, inside a loop, if block is used that checks (a%i==0), in this if variable i value modeler value equal to 0.
- The loop will use the print function that prints variable "i" element in a new line, which is the factor the values.