Exercise-2: Currency convertor and Calculator

Practice Exercices

Question-1: Currency Convertor

  1. Create a program and call it Currency_Convertor
  2. Change the Name property of each control
  3. Create a Clear Button
  4. The user will type in the Amount in dirhams and clicks the “To Dollars” button
  5. Then the program will convert form dirham to dollars where dollar = dirham / 3.67
  6. Add 4 comments to the To Dollars Button
  7. Here is a guide:

Question-2: Calculator

  1. Create a program and call it Calculator
  2. Change the Name property of each control
  3. Add a code for each button to do the calculation and show the output in the result label:
  4. Create a CE (Clear) Button
  5. Add 4 comment to each Button
  6. Here is a guide:

Question-3: Burger King

  1. Create a program and call it Burger_king as shown here:

  2. Change the Name property of each control
  3. The user will type in:
  4. The program will calculate the Cost
  5. The program will show the cost in a listbox
  6. Add 4 comments to the Order button
  7. Create a Clear button


For more details, please contact me here.
Date of last modification: 2021