Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need help making this application on microsoft visual. We would use \"visual b

ID: 656321 • Letter: I

Question

I need help making this application on microsoft visual. We would use "visual basic" and "windows form application" from the visual basic tab. I also need the full code that you used. Im desperate please help. Create an application that allows the user to enter the length and width in in of a rectangle, and the price per square foot of tile. The application should calculate and display the area of the rectangle in feet (not in) and the total price of the tile. Use the user interface shown below. Name the solution and project Tile Limited Solution and Tile Limited Project Your Last Name. Test the application using the following data. Susan Caper, one of Tile Limited

Explanation / Answer

Private Sub Form_Activate()
Dim I As Integer, Walls As Integer, Wdth As Integer, Lngt As Integer
Dim TileCost As Long, SumCost As Long
Form1.Font = "Courier New"

TileCost = InputBox("Enter the cost of the tile:", "TILE COST")
Print "Cost per Tile: " & TileCost & vbCr

Walls = InputBox("Enter the number of walls:", "HOW MANY WALLS?")
For I = 1 To Walls
Print " Wall No. " & I
Print "------------"
Wdth = InputBox("Enter the width of the wall", "WALL No." & I)
Print "Width = " & Wdth
Lngt = InputBox("Enter the length of the wall", "WALL No." & I)
Print "Length= " & Lngt
Print "Cost => " & Wdth * Lngt * TileCost & vbCr
SumCost = SumCost + Wdth * Lngt * TileCost
Next

Print "Total cost: " & SumCost
End Sub

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote