Question: this is all a one code i cant put ig in several questions The foligwerg diagram iflastrates the classes you nofl rrwiemert in thin lab
The foligwerg diagram iflastrates the classes you nofl rrwiemert in thin lab and ther Ex 1. Account Class implernert Class Account as denerbed in the UAt. a ayrem above. Ex 2. JD Class implement Cixss 10 as deicribed in the UAR diag am atwere. hotice thac. 1. Gettetal function will multiply the 9 . Amount by the edes mit infe is the eavanion Ue Amorent * it, 0 +interest r aneil 2. Parameieniced constructoe that receives all data mewbers inciusig data members in the base clast. 3- inprint you have te print all detaks of object. 4- overnide the dewelatior. Ex 3. Dollar class implement Class Dstlar as deverited in the UMt dagan atooen. Notice thue. 1-GetTocal function will drvide the datar A maunt by the exthange wase se canvert it se jD as the equation (dolar_Anount f Lachahge Jatel 2. Paramelerized constructoc that necehes all date merbes induding dira menbern in the base clavs. 3- in print you must pront all detalh of obyert 4 coverride the Aestrutiof. Ex 4. Driver implement a driver progr am to sest your code 1. Creute tws objects une of type jD and anether of thee Dellar including the irfanmatien it acceunt (onter any waluest. 2. Crease array of poinent of 5pe Acmpunt of hiev 2. The firit pointer points the the frit object and the second poieter peints ta the recand otyeet. 3- Print all of the information of each obyet unine the print function uunt lecp 4- Define a funcion that rechers the an array of Acrourts and the size mac cacculate the teral of the two objectis ssing the getfotal far each object and lospthion greet the final reiuk. 5. Call the Eunctien defined in the grevious peine. The following diagram illustrates the classes vou w will imnlement in thic lah and their
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
