COMP 217 Lab 3

Points: 25 Due Date: Friday April 21, 2004

This program is going to concatenate two words. The program will read in two 5 letter words into seperate arrays. Then it willcopy all the letters from each word into a third array. Between the two words in the third array will be a single space character.

The inputs are the two words.

The output is a short sentence containing the two words seperated by a space.

The purpose of this assignment is to practice working with arrays.

Here is a sample run. Your output doesn't have to look exactly like this.

--> ./lab3
Enter the first word, one character at a time
h
e
l
l
o
Enter the second word, one character at a time
t
h
e
r
e
hello there

Deliverables:

I only need the .c file. You don't need to send me the executable file or the output.

Notes


ASK if you have any questions. Or if you get error messages that you don't understand. If you are getting stuck, call or email me.