CSC 390 - Special Topics: Web Programming

Dr. R. M. Siegfried

Assignment #6 - p. 193/Exercises 4.8, 4.14

Due Monday, March 9, 2015

Write, test and debug (if necessary) XHTML files and Java Scripts scripts for the following problems. When required to write functions, you must include a script to test the function with at least two different data sets:

4.8

Function: no_zeros

Parameter: An array of numbers.

Result: The given array must be modified to remove all zero values.

Returns: true if the given array included zero values; false otherwise.

4.14

Function: reverser

Parameter: A number

Returns: The number with its digits in reverse order

Submit your assignment by e-mail (to siegfrie@adelphi.edu).

[Back to the Assignments List]