LABAR
Extra Credit Project 7
This
Extra Credit assignment 7, is
an extended opportunity for creating a JavaScript function to skip
counting, i.e. not to display, the odd numbers, based on the quiz 11. This project is to
be done during your one hour
lab by arrangement (LABAR).
The functionality of this assignment should perform:
The following sample code performs:
You are expected to complete the assignment based on the above working code.
The functionality of this assignment should perform:
- counting down positive integer number, if the number is greater than 10 start the count down from 10;
- counting up the negative integer number, if the number is less than -10 start the count up from -10;
- skip the odd number;
- stop the counting when zero is reached;
- do nothing if the entered number is not a positive or negative interger number.
The following sample code performs:
- counting down positive integer number;
- skip (does not display) the odd number;
- stop the counting when zero is reached;
- do nothing if the entered number is not a positive interger number.
You are expected to complete the assignment based on the above working code.
No comments:
Post a Comment