Arithmetic calculator application

Assignment Help Software Engineering
Reference no: EM1379886

Create an application that permits the user to enter a series of numbers and manipulate them. The application should provide users with the option of adding or multiplying the numbers. Users should enter each number in a TextBox. After entering each number, the user clicks a Button, and the number is inserted in a ListBox.

a. Copying the template to your working directory. Copy the directory:
C:ExamplesTutorial10ExercisesArithmeticCalculator to your C: SimplyVB2008 directory

b. Opening the application's template file. Double click ArithmeticCalculator.sln in the Ari thmeti cCal cul ator directory to open the application.

c. Adding a ListBox to display the entered numbers. Add a Li stBox. Place and size it

d. Creating an event handler for the Enter Button. Create the Cl i ck event handler forthe Enter Button. If the result of a previous calculation is displayed, this event handler should clear the result, clear the ListBox and disable the addition and multiplication Buttons. It should then insert the current number in the Operands list:
ListBox. When the ListBox contains at least two numbers, the event handler should then enable the addition and multiplication Buttons.

e. Summing the values in the ListBox. Define the Cl i ck event handler for the AddButton. This event handler should compute the sum of all the values in the Oper-ands list: ListBox and display the result in resultLabel .

f. Multiplying the values in the ListBox. Define the Cl i ck event handler for the Multiply Button. This event handler should compute the product of all the values in the Operands list: ListBox and display the result in resultLabel.

g. Running the application. Select Debug > Start Debugging to run your application. Enter two values, then click the Add and Multiply Buttons. Verify that the results displayed are correct. Also, make sure that the Add and Multiply Buttons are not enabled until two values have been entered. Enter a new value and verify that the previous result and the ListBox is cleared. Enter two more values, then click the Add and Multiply Buttons. Verify that the results displayed are correct.

h. Closing the application. Close your running application by clicking its close box.

i. Closing the IDE. Close the Visual Basic IDE by clicking its close box.

Reference no: EM1379886

Questions Cloud

What are general pitfalls that someone would expect : What are general pitfalls that someone would expect to encounter in negotiating their salary for a new job (be specific)
What three qualities of leadership they exhibited : Did you experience a greater belief in your abilities as a result of something this person did or said. Describe ways in which this person acted as a leader for you also what three qualities of leadership they exhibited.
Define the communication channels in your organizations : Define the communication channels in your organizations in terms of form, formality and functionality
How much product is wasted when we have inventory that goes : How much product is wasted when we have inventory that goes obsolete or is spoiled (from having too much on hand)? Also, what does it cost to receive, store, track also re-locate this entire inventory.
Arithmetic calculator application : Create an application that permits the user to enter a series of numbers and manipulate them. The application should provide users with the option of adding or multiplying numbers.
Critical component in business communication : Writing clear as well as effective emails that get read is a critical component in business communication. Take a look at the attached website as well as read about the key points to an effective email.
What is real discount rate in percentage : Real discount rate is 8 percent. Corporation tax rate is 34%. Sanders have or ongoing profitable operation. Should company accept.
Shortly prior to the scheduled representation election : Shortly prior to the scheduled representation election the hospital employees in the unit subject to the election received a letter that seemed to be a letter from the NLRB
Explain steps you conducted in completing this assignment : Explain steps you conducted in completing this assignment. Submit your answers in a three- to five-page Microsoft Word document also a Microsoft Excel sheet.

Reviews

Write a Review

 

Software Engineering Questions & Answers

  Linux commands

Project Linux commands. Please record all commands on a Microsoft Word Doc.

  Project communications planning

Determine what aspects of your assignment communications planning would you adapt for large-scale transnational IT projects in which the project teams.

  Design entity relationship diagram for catered accommodation

Design an entity relationship diagram for the case, explaining any suppositions you deem essential for atered or non-catered accommodation at the centre.

  Draw a good database schema for a club

What normal form is schema G in? Draw a good database schema for a club. (Remember that your design should satisfy stated query requirement!)

  Draw e-r diagram for doctors prescribe drugs for patients

Draw an E/R diagram for the following situation: Doctors prescribe drugs for patients. A given doctor can prescribe many drugs for a certain patient.

  Create crow-s foot erd for business rules for company

Create Crow's Foot ERD to include the following business rules for the ProdCo company: Each sales representative writes many invoices

  Uml class diagram for client and invoice classes

Design UML class diagram for client and invoice classes, design the code in Java for your client and invoice classes, and draw the program that consultant will use.

  Draw a class diagram for one-of-a-kind antiques

Draw a class diagram for the following situation Stillwater Antiques buys and sells one-of-a-kind antiques of all kinds (e.g., furniture, jewelry, china, and clothing).

  Draw er diagram to situation implied in student assistant

Draw an ER diagram (with a reasonable number of attributes) to represent the situation implied in the student assistant scenario of the previous question.

  Importance of professional looking worksheets

Discuss and explain in Excel why is it important to have a professional looking worksheet? Why spend so much time with styles and formats and creating borders?

  Define the term software architecture

Define the term software architecture A service is a software component of distinctive functional meaning that typically encapsulates a high-level business concept, and is usually made up of three parts. Describe the three sub-components that m..

  Create either pseudocode or flowchart for program

Create either pseudocode or a flowchart for a program that does the following: Prompt the user to enter a sales tax rate. Prompt the user to enter a price.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd