CIS 71: Homework 5

Handed out: 6/1/98
Due: by 10:00pm on 6/2/98
Email program to rtoth@astro.temple.edu

Write a program that in a loop prompts the user to enter an integer, say X, in the range 1 .. 26 and then prints the first X capital letters in reverse order. The loop terminates when X is less than 1 or greater than 26.

Here is a sample run of your program:

Enter value for X: 5
	EDCBA
Enter value for X: 9
	IHGFEDCBA
Enter value for X: 30
	Good Bye