Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

create a class Name : Bank Account Properties: -Balance (double), +account holder name(string), +type(string) Function: Have a 3 constructor for this class ( overload) +

create a class

Name : Bank Account

Properties: -Balance (double), +account holder name(string), +type(string)

Function:

Have a 3 constructor for this class ( overload)

+ Widthraw(double amount) : void

+deposite(double amount) : void

+toString() --> to be called and show the information (override)

Create 3 object in your main from your class and show the information...

** Make sure when the you widthraw from the account the balance is sufficient!

if there is not enough money in the account the user cannot withdraw and you show the message

"Insufficient fund"

programming language:C#

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

Recommended Textbook for

Databases And Python Programming MySQL MongoDB OOP And Tkinter

Authors: R. PANNEERSELVAM

1st Edition

9357011331, 978-9357011334

More Books

Students also viewed these Databases questions

Question

Did you trace the accomplishments, issues, and milestones?

Answered: 1 week ago