Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c++ Hi! what's informotions do you need ? i need the last part of this project please c++ language void P3 SORT(string); 1/ example usage:

c++
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Hi!
what's informotions do you need ?
i need the last part of this project please
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
c++ language
void P3 SORT(string); 1/ example usage: b.P3 SORT (com); I/ if com is "FIRST", sort in alphabetical order based on first names; If if com is "LAST", sort in alphabetical order based on last names; /l returns no values; protected: string firstNames [20]; string lastNames [20]; \}; 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_f2.open("customerNames. txt", ios::in); / open input file; for(i=0;i las inames [i]; i.f2.close( ) ; /1 close input file; i f 2. clear(): /1 rewind file pointer to the top of the file; o_ f "P3_P3_P3_P3: P3 BANK OBJECT IS CREATED," endl; \} void P3_BANK: :P3_LIST(int x, int y ) \{ If your code goes below: int i; if (x=10&8y=10) t cout "Print names and account info..." end ; for (1=0;1 las inames [i]; i.f2.close( ) ; /1 close input file; i f 2. clear(): /1 rewind file pointer to the top of the file; o_ f "P3_P3_P3_P3: P3 BANK OBJECT IS CREATED," endl; \} void P3_BANK: :P3_LIST(int x, int y ) \{ If your code goes below: int i; if (x=10&8y=10) t cout "Print names and account info..." end ; for (1=0;1<><><>

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

Students also viewed these Databases questions