Create an application that can be used to calculate the


Programming with Microsoft visual basic 2015 7th edition. Diane Zak.

Chapter 11, lesson A, exercise 13 solution.

In this exercise, you create an application that can be used to calculate the cost installing a fence around a rectangular area. Create the application, using the following names for the solution and project, respectively fence solution and fence project.

Save the project in the VB2015\chap11 folder. use windows to copy the Rectangle.vb file from the VB2015\chap11 folder to the fence solution / fence project folder. Use the project menu to add the Rectangle.vb class file to the project . Modify the class to use Double (rather than integer ) variables and properties.

Add a method named Getperimeter to the Rectangle class. The method should create and return the perimeter of the Rectangle. To calculate the perimeter , the method will need to add together the length and width measurements, and then multiply the sum by 2. create the interface shown in figure 11-30. the image for the picture box is stored in VB2015\chap11\Fence.png file. Code the application, and then test it appropriately.

(hint: using 120 feet length, and 75 ft width, and 10 as cost per linear ft, the installation would be 3900.00).

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create an application that can be used to calculate the
Reference No:- TGS02901394

Expected delivery within 24 Hours