With Visual Baisc sing Visual Studio 2008, program the following exercise: 62. T
ID: 3603888 • Letter: W
Question
With Visual Baisc
sing Visual Studio 2008, program the following exercise: 62. The following steps calculate a company's break-even point, the number of units of goods the company must manufacture and sell in order to break even (a) Declare all variables. (b) Assign the value 5000 to the variable fixedCosts (c) Assign the value 8 to the variable pricePerUnit. (d) Assign the value 6 to the variable costPerUnit (e) Assign the value fixedCosts divided by (the difference of pricePerUnit and costPerUnit) to the variable breakEvenPoint. (f) Display the value of the variable breakEvenPoint in a list boxExplanation / Answer
Module VBModule
Sub Main()
Dim fixedCosts As Double
Dim pricePerUnit As Double
Dim costPerUnit As Double
Dim breakEvenPoint As Double
fixedCosts=5000
pricePerUnit=8
costPerUnit=6
breakEvenPoint=fixedCosts/(pricePerUnit-costPerUnit)
Console.WriteLine(breakEvenPoint)
End Sub
End Module