Threesuns

Email the Instructor

Contact

All Semesters

Semesters

All Courses

Courses

2017Summer

06.05.17 - 07.30.17

C Language

CSCI2473

Tuesday Thursday
09:30 AM - 12:20 PM

Tut

Lab07

Objective: To practice with arrays, functions, and header files

pastdue

Submit Your Solution

Lab07

Request a Copy of your Solution

Lab07

Requirements

Both programs compile without error or warning10 pts
Program 1 converts english to tut correctly25 pts
Program 2 converts tut to english correctly25 pts
At least one function is written and used10 pts
The function has high functional integrity, is loosely coupled, is useful, and reusable20 pts
A header file is included giving access to the function10 pts
Total100 pts

Instructions

The Language of Tut

The tut language is a simple encoded language where words are spelled out and the letters "ut" are placed after every constant, vowels are left as they are. So the word "Hello", in tut become "Hutelutluto" The word "Goodbye" becomes "Gutoodutbutyute". The sentence "How are you today?", becomes "Hutowut arute yutou tutodutayut?".

The Programs

For this lab you will need to write two (2) C programs. The first should be be able to accept an English sentence from the user and convert it into Tut and the second program should accept a Tut sentence from the user and convert it to English. Both the original and converted sentences should be displayed for the user in both programs.

Functions and Header Files

Find at least one reason to create a function that can be used in both of the two programs. The function should have high functional integrity and be loosely coupled. The function should be made available through a header file that will be included into each of the two programs.

You should submit two C source code files and 1 header file for this assignment. Everything that's needed for the programs to compile must be included.

Extras