Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Program using C only. Libraries that can be used are stdlib.h, string.h, ctype.h, and stdio.h Challenging problems, please read restrictions and please explain the steps.

Program using C only. Libraries that can be used are stdlib.h, string.h, ctype.h, and stdio.h Challenging problems, please read restrictions and please explain the steps.
image text in transcribed
image text in transcribed
PROGRAMMING IN C LANGUAGE ONLY 1. French verb conjugator A group of students at a university are about to start a Study Abroad program in France, over the summer. They need to quickly learn a bit a French so that they can interact with people It would therefore be very helpful if they had access to a program that shows some of the verb conjugations, first starting with the easiest group of verbs: the verbs ending in -er For donner, which means to give in its infinitive form, is conjugated as follows Je donne (I give) Tu donnes (You give) Elle/ll donne (She/He gives) Nous donnons (We give) e Vous donnez (You give-formal form) Elles/lls donnent (They give) As you can observe, the suffix -er is first removed from the infinitive form and then a specific ending is added to the verb's root according to the given pronoun. Here are a list of requirements, assumptions and hints This program shall contain no global variables. We assume that the maximum number of characters a verb (in its infinitive form or conjugated form) can contain is 30 You will probably need to split the problem into a hierarchy of functions. A possible set of functions could include o A function that conjugates a verb For this function, it might be a good idea to have the pronouns and endings in arrays of strings. o A function that returns whether a verb ends in -er or not. before asking if another verb should be inputted. Since the user is only requested to enter a verb, you can safely use scanf() to read the verb (instead of using fgets() which would The main function should be the brain, reading the verb from the user and calling the conjugation function if the verb is valid, be more difficult to handle as it keeps the newline character as part of the input buffer). List of some important libc functions that are used in the reference program: strien(), strncpyO, strcato, scantO

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

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

More Books

Students also viewed these Databases questions

Question

How do you talk about your complaining customers?

Answered: 1 week ago

Question

3. Is there opportunity to improve current circumstances? How so?

Answered: 1 week ago