Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use C++ codes only and include the proper libraries. Write a program to prompt the user to display the following menu: Sort-numbers Concat-names Quit

Please use C++ codes only and include the proper libraries. image text in transcribed
Write a program to prompt the user to display the following menu: Sort-numbers Concat-names Quit If the user selects Sort-number, prompt the user how many numbers to sort and then enter all the numbers and store then into a one-dimensional array. Your program call a user-defined function called void sort-name (int ) to sort all the numbers in ascending order. Print the unsorted and sorted numbers as follows: needs to How many numbers: 4 Unsorted 40 30 -20 10 Sorted -20 10 30 40 Do you want to quit? Q If the user selects Concat-name, prompt the user how many names to concatenate and then enter all the first and las names and store then into a Your program needs to call a user-defined function called void sort-name (char char to concatenate the first name and the last name and print the names in this function. two one-dimensional array How many names: 3 First name last name Combined Sue Alan David Smith Sue Smith Alan Davidson David Lee Davidson Lee Do you want to quit

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

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions

Question

=+ What are the information and consultation requirements?

Answered: 1 week ago

Question

=+ Should the MNE belong (why, why not)?

Answered: 1 week ago