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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!