Question: Write a program that reads in an integer,n, from the user, and then prints out the first n letters of the alphabet. For example, for
Write a program that reads in an integer,n, from the user, and then prints out the first n letters of the alphabet. For example, for
n= 6, the output should be
abcdef
(a) Are there any upper or lower bounds on what the value of n can be? If so, what are they?
(b) Come up with some test cases to show that your program works without error.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
