Using visual basic make a formula for this, please help i need to program this?

Complete a formula or perhaps equation keeping this.trying to build a program
that can go demonstrate the pay off if
day 1 =1 pennie
day 2 = ONLY TWO pennie
day 3 = SEVERAL pennie
day 4 = 7 ennie
day 5 = OF SIXTEEN pennie

1.Create a mix box called ‘combo1’.Create list ‘Day 1’, Day 2, Day 3…….Upto anything Day a person wish

2.Add some sort of Label to get result branded ‘Label1’

RULE:
———–
Personal Sub ComboBox1_SelectedIndexChanged()
Label1.Text message = “Total Pay off ” & ONLY TWO ComboBox1.SelectedIndex & ” Pennie”
Stop Sub

COMPLETED………..

I would use a select statement while in the OnClick event from the combo container.

Decide on Case ComboBox1.Value
Scenario “Day 1”
DayVariable = “1 Pennie”
Scenario “Day 2”
DayVariable = “2 Pennie”

Duplicate for alternative values

Scenario Else
DayVariable = “Error”
Stop Select

You’ve not necessarily said what you deserve to do using the values hence the above rule just applies it into a variable.

Leave a Reply