Chapter 8 Assignments

8.7

a) comments
b) prompt method, window object
c) if
d) binary operators
e) alert method, window object

8.8

a) window.alert( "Enter two numbers") ;
b) a = b * c
c) // program performs a sample payroll calculation

8.9

a) true
b) true
c) true
d) false - h22 is valid

8.10

a) division and modulus
b) the innermost pair
c) variable

8.11

a) x = 2
b) The value of x + x is 4
c) x =
d) 5 = 5



Comparing Two Numbers

8.16 Program to Add, Subtract, Multiply, and Divide Two Numbers:
Making Calculations of Two Numbers

8.26 Program to Determine the Largest and Smallest Number of Five Integers:
Finding Smallest and Largest Numbers

8.33 Program to Create a Table of Numbers, Squares, and Cubes:
Creating a Table





Return to Kim's Web Scripting Main Page
Hosted by www.Geocities.ws

1