Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c++ Please i need the code for c++ please last part void P3 SORT(string); 1/ example usage: b.P3 SORT (com); I/ if com is FIRST,

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
c++
Please
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
i need the code for c++ please
last part
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
void P3 SORT(string); 1/ example usage: b.P3 SORT (com); I/ if com is "FIRST", sort in alphabetical order based on first names; l/ if com is "LAST", sort in alphabetical order based on last names; /l returns no values; protected: string firstNames [20]; string lastNames [20]; ji P3 BANK: :P3 BANK(int x) : P2 BANK( x)// call base class constructor; DO NOT put semicolon at the end of this line \{ int i; 1.f 2. open("customerNames.txt", ios::in); /1 open input file; for (i=0;i apn Lout\# aploUT\# 1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/ : (31/(0) NOI 10356923/1 void P3 SORT (string); Il example usage: b.P3 SORT (com); II if com is "FIRST", sort in alphabetical order based on first names; II if com is "LAST", sort in alphabetical order based on last nanes; I/ returns no values; protected: string firstNames [20]; string lastNames[20]; fi P3 BANK::P3 BANK(int x) : P2 BANK(x) // call base class constructor; DO NOT put semicolon at the end of this line \{ int 1; 1_f_2.open("customerNames.txt", ios::in); /1 open input file; for (i=0;i apn Lout\# aploUT\# 1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/1/ : (31/(0) NOI 10356923/1 void P3 SORT (string); Il example usage: b.P3 SORT (com); II if com is "FIRST", sort in alphabetical order based on first names; II if com is "LAST", sort in alphabetical order based on last nanes; I/ returns no values; protected: string firstNames [20]; string lastNames[20]; fi P3 BANK::P3 BANK(int x) : P2 BANK(x) // call base class constructor; DO NOT put semicolon at the end of this line \{ int 1; 1_f_2.open("customerNames.txt", ios::in); /1 open input file; for (i=0;i<><><>

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_2

Step: 3

blur-text-image_3

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

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions