Question: In programming C This lab requires you to declare an array of 26 characters and then use a loop to fill the array with letters
In programming C
This lab requires you to declare an array of 26 characters and then use a loop to fill the array with letters using scanf(), one character at a time. Your program then should use a separate loop to print the letters one character per line back to the user in reverse along with the line number. Objectives
Demonstrate the use of a character array.
Demonstrate the use of %c using scanf() and print().
Demonstrate how to access each element in an array with a loop.
If the input is: a,b,c,d,e,f,g,h,i,j....z Output would be: 26.) z 25.) y 24.) x .....all the way until 1.) a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
