1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
miss Akunina [59]
4 years ago
12

Write a C# program that converts currencies between British currency of pounds andpence, in which 1 pound contains 100 pence, an

d U.S. currency in dollars and cents.Assume an exchange rate of 1.6595 U.S. dollars per British pound. Give the user a menuto choose the type of conversion. Allow the user to repeat as often as desired. (See TestYour Understanding questions 39 and 41.)
Computers and Technology
1 answer:
Tju [1.3M]4 years ago
4 0
<span>Here's program. Add your own rate below, I've added commentary where. Try it: 
double amount;  
string currency;
Dictionary<string, double> factors = new Dictionary<string, double>(); factors.Add("GBP", 1.1111D);
factors.Add("USD", 1.11111D); // here you can add the rate you need 
Console.WriteLine("Please enter the amount of Euro you wish to be converted:");
        amount = double.Parse(Console.ReadLine());
Console.WriteLine("");
Console.WriteLine("Please choose the currency you wish to convert to:"); Console.WriteLine("USD");
Console.WriteLine("GBP"); Console.WriteLine("");
        currency = Console.ReadLine();
double factor;
if (factors.TryGetValue(currency, out factor))
{
Console.WriteLine("You have entered {0} EUR which converts to {1} {2}", amount, amount * factor, currency);
}
else
{
Console.WriteLine("You did not enter a recognised currency {1}", currency);
<span>}</span></span>
You might be interested in
Software that was designed to serve the needs of a specific company or organization is called:
devlian [24]
<span>Basically it's software tailor made to the companies needs and the specific name for this is integrated software</span>
3 0
3 years ago
____________ facilitates the processes that help an organization function by applying information and communication technologies
artcher [175]

Answer: (C) E-business

Explanation:

 The E-business basically facilitates the various company and organizations a large portion of its exchanges by using the Internet utilizing the majority of innovation and the correspondence interfaces.

E-business is basically known as electronic business  and it conduct various type of business forms on the web.

The various e-business procedures incorporate purchasing and selling the various types of the items, supplies and administrations that adjusting client and preparing installments. It is mainly help in sharing the information and data in the system.

 

3 0
3 years ago
Why do my airpods keep disconnecting from my laptop
user100 [1]
Hmm well maybe there is bad Bluetooth connection coming from the laptop
7 0
2 years ago
Read 2 more answers
Anyone who do bug bounty hunt ?​
lutik1710 [3]

Answer:

Hlo .yes,i have done bug bounty hunt.

5 0
3 years ago
What type of font color should Kim select if she chooses a dark-colored design theme for her presentation?
Gnesinka [82]

ANSWER: Kim has chosen a dark-colored design theme for her presentation. She should therefore choose <u>a bright </u> font color that will <u>contrast with  </u>the background color.

5 0
4 years ago
Read 2 more answers
Other questions:
  • Information permanently stored on a hard disk, diskette, cd-rom disk, or tape, is called ________ storage.
    8·1 answer
  • Which command will display the current contents of non-volatile random-access memory (nvram)?
    14·1 answer
  • This is important I need help please
    14·1 answer
  • Jill is setting up a presentation and wants to use a built-in equation, such as the area of a triangle. To insert this in her pr
    14·2 answers
  • If you turn on the Lock alpha button , what happens
    5·2 answers
  • Read the following sentence from an argumentative essay.
    11·1 answer
  • To view the results of a query, open it by pressing and holding or right-clicking the query in the navigation pane and tapping o
    10·1 answer
  • Grace is the editor of her school newspaper. Which feature of a word processing program would she use to make her changes visibl
    7·2 answers
  • Why is it important to continiously conduct penetration testing for a strong security system?.
    15·1 answer
  • The rectangular symbol in flowchart<br> is used to denote dash
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!