Back to top

A SPECIAL GIFT FOR YOUR FIRST ORDER! READ HERE >

OUR CUSTOMER CARE +1 757 828 1585

  • Login/Register

    I already have an account here

    Lost password?
    New Customer ? Sign up

Devry Courses
  • Shop
  • Cart
  • Checkout
  • My Account
  • Order 100% Original
Mini Cart 0 items - $0
  • No products in the cart.
Awaiting product image

DeVry COMP 220 iLab 3 Bank Account Lab Report Latest

Home > COMP 220 > DeVry COMP 220 iLab 3 Bank Account Lab Report Latest
DeVry COMP 220 iLab 2 Resistor Lab Report Latest

$16

DeVry ECET 330 All Discussions Latest

$55

$16

Quantity:

Category: COMP 220 Tags: DeVry COMP 220 iLab 3 Bank Account Lab Report, DeVry COMP 220 iLab 3 Bank Account Lab Report Latest, DeVry GSCM 330 Week 2 Homework
  • Description

Description

DeVry COMP 220 iLab 3 Bank Account Lab Report Latest

COMP 220 iLab 3 Bank Account Lab Report and Source Code

This lab introduces you to writing a C program to implement the concept of class inheritance using different types of bank accounts as a model. In this lab, you will create a base class, called CBankAccount, and two additional classes (each derived from CBankAccount), called CSavingsAccount and CCheckingAccount. You will then test the operations of each class in function main() to simulate the transactions of both a checking account and a savings account.

Deliverables

Submit a single Notepad file containing the source code for all the files of the lab to the Dropbox for Week 3. Your source code should use proper indentation and be error free. Be sure that your last name and the lab number are part of the file name: for example, YourLastName_Lab3.txt.

Each program should include a comment section that includes (minimally) your name, the lab and exercise number, and a description of what the program accomplishes. Submit a lab report (a Word document) containing the following information to the Dropbox for Week 3. Include your name and the lab or lab-exercise number. Specification: Include a brief description of what the program accomplishes, including its input, key processes, and output. Test Plan: Include a brief description of the method you used to confirm that your program worked properly. If necessary, include a clearly labeled table with test cases, predicted results, and actual results. Summary and Conclusions: Includea summary of what the lab demonstrated and any conclusions drawn from the testing of the lab program. Provide a UML diagram showing the base and the derived class relationships, access specifiers, data types, and function arguments. Answers to Lab Questions: Answer any and all of the lab questions included in the lab steps.

Summary: Write a statement summarizing your predicted and actual output. Identify and explain any differences.

Conclusions: Write at least one nontrivial paragraph that explains, in detail, either a significant problem you had and how you solved it or, if you had no significant problems, something you learned by doing the exercise.

Each lab exercise should have a separate section in the lab-report document.

Your lab grade is based upon

the formatting of your source code; the use of meaningful identifiers; the extent of internal documentation; the degree to which an exercises’ specifications are met; and the completeness of your lab report.

i L A B S T E P S

STEP 1: Create the Multifile Project and the Main (Base) Class

Create a new project that consists of the base class BankAccount.

The BankAccount class should contain, at minimum, the following members.

It should contain data members to store a bank customer’s balance and account number. These should be of different and appropriate data types. It should have function members that do the following: set the account number; return the account number; return the account balance; deposit money into the account; and withdraw money from the account.

STEP 2: Create the CheckingAccount Class Derived From the BankAccount Class

The class CheckingAccount should contain, at a minimum, the following members.

It should contain a data member to keep track of the number of withdrawal transactions made on the account.Whenever a withdrawal is made, this number should be incremented. Override the base class, withdraw-money function, and add the capability to deduct transaction fees from an account using the following guidelines. The checking account is allowed three free transactions. For each successful withdrawal transaction past the three free transactions, there will be a service fee of 50 cents per transaction. The service fee should be deducted from the account balance at the time the transaction is made. If there are insufficient funds in the account balance to cover the withdrawal plus the service fee, the withdrawal should be denied. The function should return a value to indicate whether the transaction succeeded or failed. Transaction fees should be deducted only from successful transactions, but the transaction count should be incremented in either case.

STEP 3: Create the SavingsingAccount Class Derived From the BankAccount Class

The class CheckingAccount should contain, at a minimum, the following members.

It should contain a data member to hold the daily interest rate. The daily interest rate can be calculated from a yearly interest rate by dividing the annual rate by 365. It should contain a data member to keep track of the number of days since the last transaction or balance inquiry. This should be updated using a random-number generator (reference Lab 1) that will return a value representing the number of days between 0 and 7, inclusive. We will assume that this bank is open every day of the year. It should contain a data member to hold the interest earned since the last transaction or balance inquiry. It should contain a function member to set the annual interest rate. Utilize the base-class functions for both withdrawal and deposit operations for the savings account. Override the base-class-balance inquiry function to add calculating and adding interest to the account based on the daily interest rate, the current balance of the account, and the number of days since the last balance inquiry. This should be called only when a balance inquiry is made, not when a deposit or withdrawal transaction or an account number inquiry is made. If there are insufficient funds in the account balance to cover a withdrawal, the withdrawal should be denied. The number of days since the last transaction or balance inquiry and the interest calculations should still be made. A value should be returned to indicate whether a withdrawal transaction succeeded or failed. It should contain a function member to return the interest earned since the last transaction or balance inquiry. It should contain a function member to return the number of days since the last transaction or balance inquiry.

STEP 4: Test Program Operation

All data-input and data-display operations (cin and cout) should be done in the function main() test program. The test program should create one checking account and one savings account with initial balances of $100 each using the functions defined in the class definitions. The test program should also assign a unique, five-digit account number to each account and assign an annual interest rate of 3% for the savings account. The test program should then display a menu that allows the user to select which option is to be performed on which account, including the following. Make a deposit and specify the amount to a selected or an entered account. Make a withdrawal and specify the amount to a selected or an entered account. Return the balance of a selected or an entered account. For deposit transactions, withdrawal transactions, and balance inquiries, the updated balance and any fees charged or interest earned should also be displayed. For the savings account, the number of days since last transaction should be displayed. Exit the program. Each account operation should display the account number and the account type.

Lab Questions

Please answer all the lab questions in the text file that is to be turned into the Dropbox. You are not required to copy the question text into your document, but all answers should be listed with the question number they answer.

Were any base-class functions called or overloaded in either of the derived classes? If so, list which class and which function, and explain why they were either called or overloaded. Were any derived-class functions not explicitly called by the test program? If so, list which class and function, and explain why this was done. Which access attribute was used for each of the classes derived from the base class? Why was this access attribute chosen?

 

DeVry Courses helps in providing the best essay writing service. If you need 100% original papers for DeVry COMP 220 iLab 3 Bank Account Lab Report Latest, then contact us through call or live chat.

DeVry COMP 220 iLab 3 Bank Account Lab Report Latest

Best DeVry COMP 220 iLab 3 Bank Account Lab Report Latest

DeVry COMP 220 iLab 3 Bank Account Lab Report Latest

Related Products

  • Placeholder

    DeVry COMP 220 iLab 4 Composition Lab Report and Source Code Latest

    $16
    Add to cartAdd to Cart
  • Placeholder

    DeVry COMP 220 iLab 2 Resistor Lab Report Latest

    $16
    Add to cartAdd to Cart
  • Placeholder

    DeVry COMP 220 iLab 6 Overloaded Operators Lab Report and Source Code Latest

    $16
    Add to cartAdd to Cart
  • Placeholder

    DeVry COMP 220 iLab 1 Two Dimensional Arrays Lab Latest

    $16
    Add to cartAdd to Cart

Course Categories

  • AC 550
  • AC 551
  • AC 553
  • ACC 305
  • ACC 600
  • ACCT 212
  • ACCT 216
  • ACCT 217
  • ACCT 220
  • ACCT 221
  • ACCT 224
  • ACCT 244
  • ACCT 251
  • ACCT 301
  • ACCT 303
  • ACCT 304
  • ACCT 305
  • ACCT 306
  • ACCT 307
  • ACCT 312
  • ACCT 313
  • ACCT 324
  • ACCT 326
  • ACCT 344
  • ACCT 346
  • ACCT 349
  • ACCT 360
  • ACCT 405
  • ACCT 406
  • ACCT 424
  • ACCT 429
  • ACCT 431
  • ACCT 434
  • ACCT 439
  • ACCT 440
  • ACCT 444
  • ACCT 446
  • ACCT 451
  • ACCT 452
  • ACCT 454
  • ACCT 461
  • ACCT 500
  • ACCT 503
  • ACCT 504
  • ACCT 515
  • ACCT 525
  • ACCT 530
  • ACCT 540
  • ACCT 550
  • ACCT 551
  • ACCT 552
  • ACCT 553
  • ACCT 555
  • ACCT 556
  • ACCT 557
  • ACCT 559
  • ACCT 560
  • ACCT 562
  • ACCT 564
  • ACCT 567
  • ACCT 571
  • ACCT 572
  • ACCT 573
  • ACCT 574
  • ACCT 590
  • ACCT 591
  • ACCT 592
  • ACCT 593
  • ACCT 594
  • ACCT 600
  • ACCT 601
  • ACCT 605
  • BIAM 300
  • BIAM 400
  • BIAM 410
  • BIAM 420
  • BIAM 500
  • BIAM 510
  • BIAM 540
  • BIAM 560
  • BIAM 570
  • BIO 2000
  • BIO 240
  • BIO 275
  • BIOS 105
  • BIOS 135
  • BIOS 140
  • BIOS 195
  • BIOS 242
  • BIOS 251
  • BIOS 252
  • BIOS 255n
  • BIOS 260
  • BIOS 267
  • BIOS 275
  • BIS 115
  • BIS 155
  • BIS 230
  • BIS 245
  • BIS 250
  • BIS 258
  • BIS 261
  • BIS 311
  • BIS 340
  • BIS 345
  • BIS 350
  • BIS 360
  • BIS 420
  • BIS 445
  • BIS 450
  • BMET 313
  • BMET 323
  • BMET 433
  • BMET 436
  • BSOP 206
  • BSOP 209
  • BSOP 326
  • BSOP 330
  • BSOP 334
  • BSOP 429
  • BSOP 434
  • BSOP 588
  • BUS 450
  • BUS 595
  • BUSI 310
  • BUSINESS 460
  • BUSINESS L 597
  • BUSN 115
  • BUSN 219
  • BUSN 258
  • BUSN 278
  • BUSN 319
  • BUSN 350
  • BUSN 369
  • BUSN 379
  • BUSN 380
  • BUSN 412
  • BUSN 420
  • BUSN 427
  • BUSN 460
  • CARD 205
  • CARD 405
  • CARD 415
  • CARD 548
  • CCSI 330
  • CCSI 360
  • CCSI 410
  • CCSI 460
  • CEIS 100
  • CEIS 101
  • CEIS 114
  • CEIS 210
  • CEIS 320
  • CEIS 420
  • CHEM 120
  • CIS 115
  • CIS 170B
  • CIS 206
  • CIS 228
  • CIS 240
  • CIS 246
  • CIS 247
  • CIS 321
  • CIS 333
  • CIS 336
  • CIS 339
  • CIS 355A
  • CIS 363a
  • CIS 407
  • CIS 470
  • CIS 474
  • COL 118
  • COLL 148
  • COMP 100
  • COMP 122
  • COMP 129
  • COMP 220
  • COMP 230
  • COMP 274
  • COMP 329
  • CRJ 110
  • CRMJ 300
  • CRMJ 310
  • CRMJ 312
  • CRMJ 315
  • CRMJ 400
  • CRMJ 410
  • CRMJ 415
  • CRMJ 425
  • DBM 405
  • DBM 438
  • DBM 449
  • Eating & Drinking
  • ECET 100
  • ECET 105
  • ECET 110
  • ECET 210
  • ECET 220
  • ECET 230
  • ECET 305
  • ECET 310
  • ECET 330
  • ECET 340
  • ECET 345
  • ECET 350
  • ECET 360
  • ECET 365
  • ECET 370
  • ECET 375
  • ECET 402
  • ECET 425L
  • ECET 450
  • ECET 460
  • ECET 465
  • ECET 497
  • ECO 312
  • ECO 450
  • ECOM 210
  • ECON 101
  • ECON 111
  • ECON 135
  • ECON 220
  • ECON 303
  • ECON 310
  • ECON 312
  • ECON 321
  • ECON 454
  • ECON 545
  • ECON 592
  • ECON E5545
  • ECT 114
  • ECT 122
  • ECT 125
  • ECT 246
  • ECT 263
  • ECT 284
  • EDH 703
  • EDH 707
  • EDU 304
  • EDU 372
  • EDU 620
  • EDU 639
  • EDU 657
  • EDU 673
  • ENG 135
  • ENG 206
  • ENGL 092
  • ENGL 112
  • ENGL 147
  • ENGL 216
  • ENGL 227
  • ENGL 230
  • ENGL 510
  • ENTR 510
  • ENTR 530
  • ENTR 550
  • ENTR 570
  • ENTR 572
  • ETHC 232
  • ETHC 445
  • EXP 105
  • FIN 221
  • FIN 351
  • FIN 364
  • FIN 370
  • FIN 385
  • FIN 390
  • FIN 504
  • FIN 505
  • FIN 510
  • FIN 512
  • FIN 515
  • FIN 516
  • FIN 555
  • FIN 560
  • FIN 561
  • FIN 564
  • FIN 565
  • FIN 567
  • FIN 580
  • FIN 590
  • FIN 672
  • Finance
  • Finance 382
  • FINE 515
  • GM 533
  • GSCM 206
  • GSCM 209
  • GSCM 326
  • GSCM 330
  • GSCM 434
  • GSCM 440
  • GSCM 460
  • GSCM 520
  • GSCM 530
  • GSCM 540
  • GSCM 588
  • GSP 115
  • GSP 125
  • GSP 215
  • HCM 640
  • HIM 335
  • HIM 355
  • HIM 410
  • HIM 420
  • HIM 435
  • HIM 460
  • HIS 410
  • HIS 415
  • HIST 405
  • HIST 410
  • HIST 417
  • HIST 425
  • HIT 111
  • HIT 120
  • HIT 141
  • HIT 170
  • HIT 203
  • HIT 205
  • HIT 211
  • HIT 213
  • HIT 220
  • HIT 226
  • HIT 230
  • HIT 251
  • HIT 261
  • HIT 272
  • HOS 324
  • HOSP 310
  • HOSP 320
  • HOSP 330
  • HOSP 410
  • HOSP 420
  • HOSP 450
  • HOSP 582
  • HOSP 585
  • HOSP 590
  • HOSP 594
  • HRM 320
  • HRM 330
  • HRM 340
  • HRM 410
  • HRM 420
  • HRM 430
  • HRM 530
  • HRM 547
  • HRM 584
  • HRM 586
  • HRM 587
  • HRM 590
  • HRM 591
  • HRM 592
  • HRM 593
  • HRM 594
  • HRM 595
  • HRM 598
  • HRM 599
  • HRM 600
  • HSM 310
  • HSM 320
  • HSM 330
  • HSM 340
  • HSM 410
  • HSM 420
  • HSM 430
  • HSM 541
  • HSM 542
  • HSM 543
  • HSM 544
  • HSM 546
  • HSOP 320
  • HSOP 330
  • HUM 303
  • HUMN 303
  • HUMN 412
  • HUMN 421
  • HUMN 432
  • HUMN 451
  • INTL 500
  • IS 535
  • JADM 100
  • JADM 110
  • JADM 120
  • JADM 200
  • JADM 210
  • JADM 220
  • JADM 240
  • JADM 250
  • JADM 260
  • JADM 270
  • JADM 300
  • JADM 320
  • JADM 330
  • JADM 340
  • JADM 350
  • JADM 430
  • JADM 435
  • JADM 480
  • JADM 485
  • JADM 490
  • LAS 432
  • LAW 310
  • LAWS 310
  • LAWS 420
  • LDR 301
  • LTRE 421
  • MARKETING 101
  • MATH 062
  • MATH 092
  • MATH 114
  • MATH 126
  • MATH 190
  • MATH 221
  • MATH 260
  • MATH 270
  • MATH 325
  • MATH 399
  • MATH 500
  • MATH 533
  • MGKT 575
  • MGMT 303
  • MGMT 330
  • MGMT 340
  • MGMT 404
  • MGMT 408
  • MGMT 410
  • MGMT 520
  • MGMT 530
  • MGMT 550
  • MGMT 570
  • MGMT 591
  • MGMT 592
  • MGMT 597
  • MGMT 599
  • MGMT 600
  • MGMT 610
  • MGT 303
  • MGT 347
  • MIS 505
  • MIS 525
  • MIS 535
  • MIS 561
  • MIS 562
  • MIS 563
  • MIS 581
  • MIS 582
  • MIS 585
  • MIS 589
  • MKT 430
  • MKTG 310
  • MKTG 320
  • MKTG 410
  • MKTG 420
  • MKTG 425
  • MKTG 430
  • MKTG 440
  • MKTG 522
  • MKTG 525
  • MKTG 530
  • MKTG 550
  • MKTG 572
  • MKTG 578
  • NETW 202
  • NETW 203
  • NETW 204
  • NETW 206
  • NETW 207
  • NETW 208
  • NETW 209
  • NETW 230
  • NETW 240
  • NETW 250
  • NETW 310
  • NETW 320
  • NETW 360
  • NETW 410
  • NETW 411
  • NETW 420
  • NETW 471
  • NETW 490
  • NETW 494
  • NETW 505
  • NETW 561
  • NETW 562
  • NETW 563
  • NETW 583
  • NETW 584
  • NETW 585
  • NETW 589
  • NETW 590
  • NR 101
  • NR 103
  • NR 228
  • NR 305
  • NR 321
  • NR 340
  • NR 351
  • NR 360
  • NR 361
  • NR 390
  • NR 391
  • NR 392
  • NR 439
  • NR 443
  • NR 447
  • NR 449
  • NR 451
  • NR 500
  • NR 501
  • NR 503
  • NR 504
  • NR 505
  • NR 506
  • NR 507
  • NR 510
  • NR 512
  • NR 603
  • NR 650
  • NR 702
  • NR 707
  • NT 1210
  • NT 1230
  • NT 1310
  • NT 1330
  • NT 1430
  • NUR 300
  • PA 571
  • PA 572
  • PA 581
  • PA 582
  • PA 584
  • PA 600
  • PHIL 347
  • PHIL 447
  • PHYS 204
  • PHYS 310
  • PHYS 320
  • PHYSICS 204
  • PM 598
  • POLI 330
  • POLI 332
  • POLI 457
  • PROJ 330
  • PROJ 410
  • PROJ 420
  • PROJ 430
  • PROJ 584
  • PROJ 586
  • PROJ 587
  • PROJ 591
  • PROJ 592
  • PROJ 595
  • PROJ 598
  • PSYC 101
  • PSYC 110
  • PSYC 201
  • PSYC 305
  • PSYC 307
  • REET 420
  • RELI 448
  • SAI 460
  • SBE 310
  • SBE 330
  • SBE 420
  • SBE 430
  • SBE 440
  • SCI 204
  • SCI 214
  • SCI 224
  • SCI 228
  • SEC 280
  • SEC 340
  • SEC 360
  • SEC 440
  • SEC 450
  • SEC 571
  • SEC 572
  • SEC 573
  • SEC 575
  • SEC 576
  • SEC 577
  • SEC 578
  • SEC 579
  • SEC 591
  • SEC 592
  • SEC 594
  • SOCS 185n
  • SOCS 315
  • SOCS 325
  • SOCS 350
  • SPCH 101
  • SPCH 275
  • SPCH 277
  • STATISTICS 221
  • SUST 310
  • TC 160
  • TC 220
  • Test category
  • WEB 375

ENJOY OUR LATEST OFFERS

Register now to get updates on promotions and coupons.

Stay Connected

  • Facebook
  • YouTube
  • Twitter
  • Google+
  • Our Community
  • Leave a Feedback

How To Buy

  • Create an Account
  • Making Payments
  • Delivery Options
  • Buyer Protection
  • Terms and conditions

Customer Service

  • Contact Us
  • Our FAQ
  • Ask Our community
  • Affiliate Program
  • Transaction Agreement
  • Recruiting Test Participants

Utilities

  • Predictive Ajax search
  • Ajax filter in catalog page
  • Advanced reviews
  • Custom popup
  • Maintenance mode
  • Visual composer


  • Homepage
  • About us
  • Testimonials
  • Faqs

Copyright 2020 - DeVry Courses

X