Question: Overview For this challenge activity you will be writing a program the asks the user to enter a series of strings. You will then perform

Overview
For this challenge activity you will be writing a program the asks the user to enter a series of strings. You will then perform several calculations on those strings and print out the results.
Follow the directions closely. In several places you could solve the problem multiple ways but part of your grade will be based on using the required approach. For example, There are methods that require you to use recursion or to allocate an array on the stack. Failure to do so will not earn you full credit.
Task 1: Ask user for input
Your first task is to collect user input and store it in a global array. First, prompt the user to enter a string (max 31 characters) and store the result in the global array. Do not include the newline character as part of the string. I recommend that you truncate the newline character right after reading the string. Continue to allow the user to enter a string (up to 16 total strings). If the user enters an empty string (i.e. a blank line) then stop the input loop early (i.e. do not continue to prompt for more strings)
Warning: If a string that is more than ~8 characters long and is not a palindrome is entered, the k-palindrome procedure may take a long time to complete.
Begin working in the file template (ca.asm) provided in the ca folder.

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 Programming Questions!