Given the following code snippet, what will be displayed on the web page if the user enters 6.35 at the prompt?

```
var A = prompt("Enter a number:");
document.write(parseFloat(A) + ", ");
document.write(parseInt(A));
```

a. 6.35NaN
b. 6.35
6
c. 6.35, 6
d. 6.35, 6.35

c. 6.35, 6

Computer Science & Information Technology

You might also like to view...

A table is a collection of data or fields

Indicate whether the statement is true or false

Computer Science & Information Technology

Modern ciphers use binary operations. Which of the following is an example of a binary operator?

A) Caesar cipher B) AND C) ROT13 D) Atbash cipher

Computer Science & Information Technology