subject

Code example 2-1 1. var myage, newage; 2. myage = prompt("how old are you? "); 3. myage = parseint(myage); 4. newage = 18 - myage; 5. alert("you will be eligible to vote in " + newage + " years"); (refer to code example 2-1) what type of data is stored in myage after line 2 is executed?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:30
How do you take a green screen out of the video while editing?
Answers: 2
question
Computers and Technology, 23.06.2019 04:31
This graph compares the cost of room and board at educational institutions in texas.
Answers: 1
question
Computers and Technology, 23.06.2019 21:40
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings. for each match, add one point to user_score. upon a mismatch, end the game. sample output with inputs: 'rrgbryybgy' 'rrgbbrybgy'
Answers: 3
question
Computers and Technology, 24.06.2019 02:30
How to apply the fly in effect to objects on a slide
Answers: 1
You know the right answer?
Code example 2-1 1. var myage, newage; 2. myage = prompt("how old are you? "); 3. myage = parseint...
Questions
question
Computers and Technology, 18.12.2019 00:31
question
Mathematics, 18.12.2019 00:31
Questions on the website: 13722362