0
在Visual Basic中,有一個示例告訴我,如果複印中心在前100份副本上收費5美分,在100份副本後每增加一份副本收取3美分費用,則必須計算副本成本,然後在文本框中顯示成本。計算條件成本
這是我迄今爲止
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim firsthun As Double
Dim plushun As Double
If firsthun <= 100 Then '5 cents per copy'
End If
If plushun >= 100 Then 'add 3 cents more'
End If
TextBox2.Text =
請格式化您的問題。 –