FontysICT-sem1

Euro-Dollar Converter

Objectives.

Introduction

Travel agency “FLUX vacations” organizes tours in countries of all continents. Many of the trips booked go to countries where payment is not with euros but with dollars. To make travel preparations a little easier for customers, FLUX vacations therefore wants to have an application developed to easily convert euros to dollars and vice versa.

Resources

Examples about working with variables in C#: see ‘Reference: variable’.

Assignment

You could use a user interface like this (but feel free to improve!):

Aangeleverd ontwerp user interface

Extension (level 3 of 5)

Add a check on the input of amounts: if the input is valid, the calculation should be performed. If the input is not valid, a clear error message is displayed and nothing is calculated.

Extension (level 4 of 5)

Add the ability to choose between two foreign currencies in a user-friendly way: Dollar or Yen. However, there will always be conversion from or to Euros. The user interface obviously needs to be adapted to this.

Checklist

If you have done the job correctly you have fulfilled the following points:

Is everything in order? Ask for feedback but…

Versions