Question
C programming Problem 3 alphabet_indexer.c We are going to create a program which will tell us what is the ith letter of the alphabet. Create
C programming
Problem 3 alphabet_indexer.c
We are going to create a program which will tell us what is the ith letter of the alphabet. Create a character array that will store at least 10 letters (A, B, C, D, and so on I wont make you do all 26 ). Then, ask the user for an input number. The program will then return the ith letter of the alphabet. Be sure that you use arrays for this problem (Im not asking you to do anything with ASCII character art just create an array of characters). Remember that if you want to declare a character, you have to use single quotes instead of double quotes, because double quotes denote strings. HINT: Remember that in computer science, counting starts at 0. To make this make more sense for us, you have to adjust the index. The autograder will check that 1 -> A, 2 -> B, etc
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started