I need a program written. The assignment description and information are provided in the attachments and below this message. Again, with all the information given (Male and Female Client details, the Project assignment, and the corresponding pseudocode lsited below):   // Pseudocode Project8 // Start // Declarations // InputFile inFile1; // InputFile inFile2; // OutputFile outFile1; // num mClientNumber, fClientNumber // string mClientName, fClientName // bool atLeastOneFileNotAtEnd = true // bool inFile1Written = false // bool inFile2Written = false­­ // output "File merge processing starting" // open inFile1 "MaleClients.rtf" // open inFile2 "FemaleClients.rtf" // open outFile1 "MergedClients.rtf" // read mClientNumber and mClientName from inFile1 // read fClientNumber and fClientName from inFile2 // while ( atLeastOneFileNotAtEnd == true ) // if (inFile1 is EOF) // if (inFile2Written == false) // output fClientNumber, fClientName to Outputfile // inFile2Written = true // endif // else if (inFile2 is EOF) // if (inFile1Written == false) // output mClientNumber, mClientName to Outputfile // inFile1Written = true // endif // else if (mClientNumber < fClientNumber) // output mClientNumber, mClientName to Outputfile // inFile1Written = true // else // output fClientNumber, fClientName to Outputfile // inFile2Written = true // endif // // // if ((inFile1 not EOF) AND (inFile1Written == true)) // read mClientNumber and mClientName from inFile1 // inFile1Written = false // endif // if ((inFile2 not EOF) AND (inFile2Written == true)) // read fClientNumber and fClientName from inFile2 // inFile2Written = false // endif // if ((inFile is EOF) AND (inFile2 is EOF)) // atLeastOneFileNotAtEnd = false // endif // endwhile // close inFile1 // close inFile2 // close outFile1 // output "Merging Complete" // Stop

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

I need a program written. The assignment description and information are provided in the attachments and below this message. Again, with all the information given (Male and Female Client details, the Project assignment, and the corresponding pseudocode lsited below):

 

// Pseudocode Project8
// Start
// Declarations
// InputFile inFile1;
// InputFile inFile2;
// OutputFile outFile1;
// num mClientNumber, fClientNumber
// string mClientName, fClientName
// bool atLeastOneFileNotAtEnd = true
// bool inFile1Written = false
// bool inFile2Written = false­­
// output "File merge processing starting"
// open inFile1 "MaleClients.rtf"
// open inFile2 "FemaleClients.rtf"
// open outFile1 "MergedClients.rtf"
// read mClientNumber and mClientName from inFile1
// read fClientNumber and fClientName from inFile2
// while ( atLeastOneFileNotAtEnd == true )
// if (inFile1 is EOF)
// if (inFile2Written == false)
// output fClientNumber, fClientName to Outputfile
// inFile2Written = true
// endif
// else if (inFile2 is EOF)
// if (inFile1Written == false)
// output mClientNumber, mClientName to Outputfile
// inFile1Written = true
// endif
// else if (mClientNumber < fClientNumber)
// output mClientNumber, mClientName to Outputfile
// inFile1Written = true
// else
// output fClientNumber, fClientName to Outputfile
// inFile2Written = true
// endif
//
//
// if ((inFile1 not EOF) AND (inFile1Written == true))
// read mClientNumber and mClientName from inFile1
// inFile1Written = false
// endif
// if ((inFile2 not EOF) AND (inFile2Written == true))
// read fClientNumber and fClientName from inFile2
// inFile2Written = false
// endif
// if ((inFile is EOF) AND (inFile2 is EOF))
// atLeastOneFileNotAtEnd = false
// endif
// endwhile
// close inFile1
// close inFile2
// close outFile1
// output "Merging Complete"
// Stop

Project 8 Description A
The Cupid matchmaking Service maintains two files - one for the male clients and another for female
clients. Each file contains a client ID, last name, first name, and address. Each file is in client ID order.
Use the provide pseudocode to write a C++ application that merges the two files into one file
containing a list of all clients, maintaining ID member order.
Transcribed Image Text:Project 8 Description A The Cupid matchmaking Service maintains two files - one for the male clients and another for female clients. Each file contains a client ID, last name, first name, and address. Each file is in client ID order. Use the provide pseudocode to write a C++ application that merges the two files into one file containing a list of all clients, maintaining ID member order.
MALECLIENTS
56 Bob_Johnson
100 Dan Smith
200 Mike_Tay
FEMALECLIENTS
21 Barbara_Jones
82 Sue Todd
275 Mary Donald
276 Cathy_Conner
300 Debbie_Baker
400 Kim Tanner
Transcribed Image Text:MALECLIENTS 56 Bob_Johnson 100 Dan Smith 200 Mike_Tay FEMALECLIENTS 21 Barbara_Jones 82 Sue Todd 275 Mary Donald 276 Cathy_Conner 300 Debbie_Baker 400 Kim Tanner
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 5 images

Blurred answer
Knowledge Booster
Top down approach design
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education