Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This first assignment will help to introduce you to the various tools (IDE/Editor, Tesla, and GIT) and introduce you to a new programming language, C.

image text in transcribed
This first assignment will help to introduce you to the various tools (IDE/Editor, Tesla, and GIT) and introduce you to a new programming language, C. For this assignment, we are going to explore the power of recursion and the notion of looping as it relates to computer programs. Your goal is to create a program that prompts the user to enter a word (for simplicity we assume that the user will only enter single word answers and less than 100 characters in length) and using a single recursive function your job is to invert the word (e.g. print the word backwards). You are not allowed to use any library functions (e.g. strrev) to accomplish this. An example of this is shown below: Please enter a word: ryan Your word spelled backwards is: nayr would you like to continue (YIN) N Thank you Goodbye! You are to complete this assignment in C.I will provide the skeleton (bare bones structure of the program in the form of the file (textWizard.c) on Canvas. You are to edit this file to accomplish the goal of the assignment. For the basic submission you may not add any new methods. Your program must demonstrate the use of recursion and must loop until the user triggers the condition to terminate the program in this case the use of the capital letter 'N') For this assignment, all development must take place on the master branch. It is strongly recommended that you commit and push often! This will help to familiarize you with the workings of a source code repository and its importance in software design and development. Please make sure you get help setting up your repository if needed-it will be difficult/impossible to solve a problem at the 11th hour. All assignments must be submitted on IU GitHub (github.iu.edu). The name of your IU GitHub repository must be as follows: csci24000 spring2017 AI. You should be submitting the textWizard.c file as well as a text file (algorithm.txt) outlining your algorithm for accomplishing this assignment. I will provide in the lecture slides the necessary setup details regarding your repository. Please make sure that you use this guide to accomplish this task. As part of your academic journey we want to encourage creativity in your submissions. In order to accomplish this we encourage you to step up beyond the basic requirements of the assignment to attempt to tackle "bigger" problems. For most assignments I will provide a suggestion for a possible Black Belt Challenge this is by no means a requirement but rather just a suggestion. We will speak more about Black Belt submissions as part of lecture. For this assignment the Black Belt Challenge is: Write the same program using C++ or Java. Explicitly use pointers to accomplish this assignment

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Donald A. Carpenter Fred R. McFadden

1st Edition

8178088045, 978-8178088044

More Books

Students also viewed these Databases questions

Question

Define promotion.

Answered: 1 week ago

Question

Write a note on transfer policy.

Answered: 1 week ago

Question

Discuss about training and development in India?

Answered: 1 week ago

Question

Explain the various techniques of training and development.

Answered: 1 week ago