Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Basically the program must read the input files and combine them into one file. This must be done utilizing arrays and it must follow the

image text in transcribedimage text in transcribedimage text in transcribed

Basically the program must read the input files and combine them into one file. This must be done utilizing arrays and it must follow the user interface in the pictures above using C++

Goals: To learn streams and file I/O To learn how to use tools for stream I/O To use arrays to group data elements To design and implement functions (Note: this topic was covered in Homework 3) To perform unit testing To design a simple algorithm Write a program that merges the numbers in two files and writes all the numbers into a third file. Your program takes input from two different files and writes its output to a third file. Each input file contains a list of numbers of type int in sorted order from the smallest to the largest. After the program is run, the output file will contain all the numbers in the two input files in one longer list in sorted order from smallest to largest. You must provide the following user interface. The user input is depicted as Bold, but you do not need to display user input in bold. Please replace "Aubie" with your name. Your program must first run a list of unit test cases and print unit testing results. Next, your program loads two input files and merges the numbers in the two files. Unit Test Cases Unit Test Case l: Function Name show function name here Case 1.1 explain test case 1-1 here (e.g., input arguments Case 1-1 passed. Case 1.2 explain test case 1.2 here (e.g., input arguments Case 1-2 passed. Press any key to continue Unit Test Case 2 Function Name show function name here Case 2.1 explain test case 2-1 here (e.g., input arguments Case 2-1 passed. Case 2.2 explain test case 2.2 here (e.g., input arguments Case 2.2 passed. Press any key to continue Add more test cases below Press any key to continue

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

Practical Azure SQL Database For Modern Developers Building Applications In The Microsoft Cloud

Authors: Davide Mauri, Silvano Coriani, Anna Hoffma, Sanjay Mishra, Jovan Popovic

1st Edition

1484263693, 978-1484263693

More Books

Students also viewed these Databases questions

Question

Explain how the appraisal interview should be conducted.

Answered: 1 week ago

Question

What are the three main phases of the SDLC ?

Answered: 1 week ago