Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can someone help me create this CLASS for visual basic? A class is created which has a property balance, a subtraction sub, and an addition

can someone help me create this CLASS for visual basic?

A class is created which has a property balance, a subtraction sub, and an addition sub.

The class is created separate from the class form.

On the form load, the user is prompted with an input box to enter the initial balance.

When the Add button is selected the application verifies a value is entered. If a value is not entered the application presents and error and the program does not continue. If there is a value the program will call the class to add the value to the balance and then display the balance to the user using the appropriate property.

When the Subtract button is selected the application verifies a value is entered. If a value is not entered the application presents and error and the program does not continue. If there is a value the program will call the class to subtract the value to the balance and then display the balance to the user using the appropriate property. The application will not subtract the value from the balance if the balance is < the amount. The user will be notified.

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

More Books

Students also viewed these Databases questions

Question

Define job pricing. What is the purpose of job pricing?

Answered: 1 week ago