CIS 294 Homework	Two				Assigned January 22, 1997

As stated on the syllabus, all of the programming assignments combined are worth a total of 30% of your final grade.  This assignment will be worth 9 points, or 15% of the 30% for all the assignments.  This assignment is to be done individually.

I.	Programming assignment:  (9 points)

Due:		February 5, 1997

User specifications:

Use VB 4.0 to develop a Windows application that will allow the user to input a string (at least 25 characters long).  Give the user the following results:  (you DO NOT need to display the results all at once, but at least allow the user to choose from all of the following options)

1. output the string exactly as input rotated right by a user-defined number of characters (0 or more)
 example:		'Hello world!' rotated by 2 characters would be: d!Hello worl
 
2. output the string exactly as input rotated left by a user-defined number of characters (0 or more)
 
3. output the string backwards
 example:		'Hello world!' backwards is: !dlrow olleH
 
4. output the number of characters in the string
 example:		'Hello world!' has 12 characters
 
5. output the string with all upper-case letters
 example:		'Hello world!' upper-case is: HELLO WORLD!
 
6. output the string with all lower-case letters
 example:		'Hello world!' lower-case is: hello world!
 
7. output the inverse of the current case of the string
 example:		'Hello world!' inverted is: hELLO WORLD!
 
8. output the string in ascending ASCII order
 example:		'Hello world!' in ascending order is: (space)!Hdellloorw
 
9. output the string in descending ASCII order




Program requirements:

1. You must center all forms on the screen using a common procedure.
 
2. You must use both functions and procedures (at least one of each).
 
3. You need to provide a way to exit the program gracefully.
 
4. You must implement at least one stack or queue abstract data type using arrays.
 
5. You must use proper naming conventions for forms and controls (see appendix B).
 
6. You must create an executable file (.EXE) and use the Setup Wizard to submit the assignment on disk(s) to me.

Points will be deducted for the following:

1. failing to meet the above specifications and requirements
 
2. failing to meet the proper program submission/documentation requirements