Chapter 5 exercise 3

3. a. If x is assigned the value of 5, what is y in the following two statements:
y = --x;
y = x--;
b. Explain the output of the preceding two statements.

Complete chapter 5 exercise 3. Note: Write the values of the two expressions to the screen. Use comments in your script to explain the difference of the two expressions. Save this page as chapt5ex3.html in your week 3 folder.




Back to Assignment Web Page.

Valid XHTML 1.0!

Valid CSS!

W3C XHTML validation page

W3C CSS Validation Page