I have to write a function in Visual Basic within Microsoft that takes customer type and number of books purchased as inputs and returns the discount that should be given. Calculate the total sum after deducting discount that is to be paid and that the interface shows the total amount before and after the discount.
I would like to get some help in this because im totally stuck. I have designed the form in VB somewhat,not finalised ofcourse and done the code. But I can't manage to get it working as how it's described above :S Pleaseeeeeee helppppppppppppppppppp.
I have attached the file of what I did so far.