The syntax of the assignment statement that calls the prompt() function is ____.

A. variableName = prompt("optional default value");
B. variableName = ("prompt text","optional default value");
C. variableName = prompt("prompt text","optional default value");
D. variableName = "prompt text";

Answer: C

Computer Science & Information Technology

You might also like to view...

Which of the following is NOT a type of Malware?

A. Worm B. Virus C. Trojan horse D. Denial-of-service attack

Computer Science & Information Technology

The figure above shows the ____________________ settings.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology