Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Currency Converter using Visual Studio C# and make all steps are clear Create an application that converts U.S. dollars amounts to pounds, euros, and yen.

Currency Converter using Visual Studio C# and make all steps are clear

Create an application that converts U.S. dollars amounts to pounds, euros, and yen. The following conversion factors are not accurate, but you can use them in your application: 1 dollar= 0.68 pound 1 dollar= 0.83 euro 1 dollar= 108.36 yen In your code declare named constants to represent the conversion factors for the different types of currency. For example, you might declare the conversion factor for yen as follows: const double YEN_FACTOR = 108.36; Used the named constants in the mathematical conversion statements. If the user fails to enter numeric values, display an appropriate error message and do not attempt to perform calculations. Use the following test data to determine whether the application is calculating properly: Dollars $100.00 =

Pounds: 68 Euros: 83 Yen: 10,836 $25.00 =

Pounds: 17 Euros: 20.75 Yen: 2,709 $1.00 =

Pounds: 0.68 Euros: 0.83 Yen: 108.36

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases A Beginners Guide

Authors: Andy Oppel

1st Edition

007160846X, 978-0071608466

Students also viewed these Databases questions

Question

5. If yes, then why?

Answered: 1 week ago