1 in visual basic enhance the simple addition program shown below by having the user 5346926

1.In Visual Basic, enhance the simple addition program (shown below) by having the user enter his or her guess

at the correct answer by means of an Input Box. If the guess is correct, have the message box

display “Correct result”. Otherwise, display the message “Incorrect answer”.

Simple Addition Program

Sub Adder()

' input data

Sheets(” Sheet1″). Select

Range(” b7″). Select

a = ActiveCell. Value

Range(” b8″). Select

b = ActiveCell. Value

' calculation

c = a + b

' output results

Range(” b10″). Select

ActiveCell. Value = c

End Sub

"Get 15% discount on your first 3 orders with us"
Use the following coupon

Order Now