Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
lblOutput.Text = "The Actual " & strType & " is " & dblAnswer.ToString("0.00%")
End Sub
Private Sub CrudeBirthRateToolStripMenuItem_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles CrudeBirthRateToolStripMenuItem.Click
Try
Dim dblbirths As Double = InputBox("Enter Number of births a day")
Dim dblyear As Double = InputBox("Enter number of years")
Dim dblcbr As Double = dblbirths / 1000 / dblyear
lblOutput.Text = "The CBR is " & dblcbr.ToString("0.00%")
Catch ex As Exception
End Try
End Sub
End Try
End Sub
Catch ex As Exception
End Try
End Sub
Private Sub ActualDeathRateToolStripMenuItem_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles ActualDeathRateToolStripMenuItem.Click
Try
blnBD = False
Dim dblDeath As Double = InputBox("Enter number of Deaths per day")
Dim dblPop As Double = InputBox("Enter the total population")
Catch ex As Exception
End Try
End Sub
lblOutput.Text = " The Population Density is " & intAnswer & " People per
square kilometer "
Catch ex As Exception
End Try
End Sub
Try
Dim dblGrowthRate As Double = InputBox("Enter the growth rate")
Dim dblDoublingTime As Double = 70 / dblGrowthRate
lblOutput.Text = dblDoublingTime & " Years for the population to double."
Catch ex As Exception
End Try
End Sub
lblOutput.Text = "The National population growth rate is " & dblAnswer & "%"
Catch ex As Exception
End Try
End Sub
Catch ex As Exception
End Try
End Sub
End Try
End Sub
End Try
End Sub