CorrectFormation Create a program and locally declare in main fname and Iname and completeName. Ask the user for their first and last name. Put the values into fname and Iname. You will create a function that is called as followed joinNames( fname, Iname, completeName); You will pass the first name array, the last name array, and the array that will contain the complete name. The function named joinNames should put the first and last names together in completeName. Make sure that the first and last names begin with capital letters, and that all others are lower case. Display the final combined name Please enter your first name:chuck wagon Please enter your last name: The complete name is Chuck Wagon Process returned θ (8x0) execution time : 5.192 s Press any key to continue.

Question

Programming in C 

CorrectFormation
Create a program and locally declare in main fname and Iname and completeName. Ask the user for their first and last name. Put
the values into fname and Iname. You will create a function that is called as followed
joinNames( fname, Iname, completeName);
You will pass the first name array, the last name array, and the array that will contain the complete name. The function named
joinNames should put the first and last names together in completeName. Make sure that the first and last names begin with
capital letters, and that all others are lower case. Display the final combined name
Please enter your first name:chuck wagon
Please enter your last name: The complete name is Chuck Wagon
Process returned θ (8x0) execution time : 5.192 s
Press any key to continue.

Image Transcription

CorrectFormation Create a program and locally declare in main fname and Iname and completeName. Ask the user for their first and last name. Put the values into fname and Iname. You will create a function that is called as followed joinNames( fname, Iname, completeName); You will pass the first name array, the last name array, and the array that will contain the complete name. The function named joinNames should put the first and last names together in completeName. Make sure that the first and last names begin with capital letters, and that all others are lower case. Display the final combined name Please enter your first name:chuck wagon Please enter your last name: The complete name is Chuck Wagon Process returned θ (8x0) execution time : 5.192 s Press any key to continue.

Expert Answer

Want to see the step-by-step answer?

See Answer

Check out a sample Q&A here.

Want to see this answer and more?

Experts are waiting 24/7 to provide step-by-step solutions in as fast as 30 minutes!*

See Answer
*Response times vary by subject and question complexity. Median response time is 34 minutes and may be longer for new subjects.

Related Computer Science Q&A

Find answers to questions asked by student like you
Show more Q&A

Q: Write a java program called Sales considering the following directions and the sample run. Practice ...

A: The program has the following steps:Declare the variablesReceive the input from the userCalculate th...

Q: Write a program called LoopMinMax that reads in 4 values from the user and prints the lowest and hig...

A: You didn’t mention which language should be used for the given program. Here, I have used JAVA langu...

Q: write a program that reads a line of text and then displays the line, but with the first occurrence...

A: Given below program reads the first occurrence of “hate” and displays “love “ in place of “hate”.

Q: Show that there exists an algorithm to determine whether λ ∈ L for any regular language L.

A: DFA (Deterministic Finite Automation):For a given state on a given input, user reach to a determinis...

Q: This table is in 1NF. What does the table look like in 3NF? This is about Normalization.

A: First to make the table clears 3NF we need to understand what is Normal form.* Basically normal form...

Q: Read in 5 letters from the keyboard, reverse the order of the second and next to last letters, and p...

A: Pseudocode is an informal approach of programming description that does not need any exact programmi...

Q: A Maze Room : In this lab, we will make a maze game. The maze is based on Linked Lists. Instead of h...

A: For class Room, implement the setter and getter methods by assign and returning values respectively....

Q: How do I get this flat list table into 1NF, 2NF and 3NF?

A: Normalization:Normalization is a process of dividing the tables by more than one idea into set of ta...

Q: Use eclipse for these methods

A: Solution:Given data,The java code to display the output for method calls using the method overloadin...