I have this exercise to do but im stumped at what else to do next.
We have to make a simple Currency converter, i get how to change the currency from US dollars to yen,euros, ans pesos but here is the tricky part,
the user types in the amount of US dollars they want converted but then the user has to type in Yen, Euro, Pasos in a text then when you hit convert i will convert it to what ever the user typed in the Currency text box,
but i dont no how to make the program read what the user typed in for currency. The teacher wants us to use the If..ElseIf..ElseIf statements and to display the answer in the lbloutput box is sapose to be displayed by using the String.Format method which i get.
lol here is all i got for the begining

VB Code:
  1. Private Sub btnConvert_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnConvert.Click
  2.         Dim dollars As New Double
  3.         Dim amount As New Decimal
  4.  
  5.  
  6.         dollars = Val(txtValue.Text)
  7.         amount = Val(txtCurrency.Text)