1. Start with analysing the problem by using a flowchartipseudo code. 2. As mention above, buikd a C++ program based on the uppropriate methed/function. You are free to create your own menu and display. 3. Please subunit your analysis, full program and example of output through MyGuru. Consider the following case: You have been appointed as a teacher of 3 Gemilang class in SMK Tanjung Malim, Please create a program that can keep the name list of your students in the class. The list must consist of two lists, first list is for all female student's names and the second list is for all male student's names. You must also provide the list of all the student's name. In order to do that, you need to merge hoth of the list together. The name in the list needs to be sorted alphabetically. The program must consist of the following method function: a) menu() – us interfuce for the user b) add_list(string) - to add name to the list c) surt_list()- to sort the name in the list d) show_list() – to display the lists e) search listístring) - to search a name in the list

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Make a c++ program
Instructions:
Start with analysing the problem by using a flowchartipseudo code.
2. As mention above, build a C++ program based on the appropriate method'function. You are free
to create your own menu and display.
3. Please submit your analysis, full program and example of output through MyGuru.
1.
Consider the following case:
You have been appointed as a tcacher of 3 Gemilang class in SMK Tanjung Malim, Please create a
program that can keep the name list of your students in the class. The list must consist of two lists, first
list is for all female student's names and the second list is for all male student's names.
You must also provide the list of all the student's name. In order to do that, you need to merge hoth of
the list together. The name in the list needs to be sorted alphabetically.
The program must consist of the following method function:
a) menu() – as interface for the user
b) add_list(string) - to add name to the list
c) surt_list() - to sort the nume in the list
d) show_list() – to display the lists
e) search_list(string) – to search a name in the list
f) merge_list(list1, list2) – to display list of students name (merge list)
g) delete_list()- to delete name
Illustrations of process:
List of female students:
head
Aminah •
Chin
Lisa
* Sarah
List of male students:
head •
Bala
Haziq •
Teoh
Zane
List of all students:
head • Aminah
e
Chin
Sarah
Lisa
Bala
Haziq
Teoh .
Zane
[See next page
MTS3023: Data Structures
3
Declaration node and functions:
// declaration of node
struct Node(
string name:
Node "roxt:
void monu 0;
void add iist (atring) :
void scrt._l'st);
void show list ():
void search_liat (string:
void merge iist (listl,list2);
void delete_list ()
Transcribed Image Text:Instructions: Start with analysing the problem by using a flowchartipseudo code. 2. As mention above, build a C++ program based on the appropriate method'function. You are free to create your own menu and display. 3. Please submit your analysis, full program and example of output through MyGuru. 1. Consider the following case: You have been appointed as a tcacher of 3 Gemilang class in SMK Tanjung Malim, Please create a program that can keep the name list of your students in the class. The list must consist of two lists, first list is for all female student's names and the second list is for all male student's names. You must also provide the list of all the student's name. In order to do that, you need to merge hoth of the list together. The name in the list needs to be sorted alphabetically. The program must consist of the following method function: a) menu() – as interface for the user b) add_list(string) - to add name to the list c) surt_list() - to sort the nume in the list d) show_list() – to display the lists e) search_list(string) – to search a name in the list f) merge_list(list1, list2) – to display list of students name (merge list) g) delete_list()- to delete name Illustrations of process: List of female students: head Aminah • Chin Lisa * Sarah List of male students: head • Bala Haziq • Teoh Zane List of all students: head • Aminah e Chin Sarah Lisa Bala Haziq Teoh . Zane [See next page MTS3023: Data Structures 3 Declaration node and functions: // declaration of node struct Node( string name: Node "roxt: void monu 0; void add iist (atring) : void scrt._l'st); void show list (): void search_liat (string: void merge iist (listl,list2); void delete_list ()
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY