Write JavaScript statements that accomplish each of the following:
a) Display the message "Enter two numbers" using the window object.
b) Assign the product of variables b and c to variable a.
c) State that a program performs a sample payroll calculation (Hint: use text that helps to document a program).
a)
```
window.prompt( “Enter two numbers” );
```
b)
```
a = b * c;
```
c)
```
// This program does a sample payroll calculation.
```
You might also like to view...
When enhancing the accessibility of Web pages for people who are blind, why is it useful to review the pages in a text browser such as Lynx?
What will be an ideal response?
A zoom level of 52% usually displays ________ page(s)
A) one B) two C) three D) four
What are three types of RSLogix 5000 routines?
What will be an ideal response?
Which of the following would you use to reference the variable located in the first row, first column of the scores two-dimensional array?
A. scores[0][0] B. scores[1][1] C. scores{0, 0} D. scores[1,1]