HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Beginners > problem:


010. 50357 - Convert Euros into Dollars

Guest
• Discussion of problem (1)

Volume problems

• 51007 - Function f(x)
• 50579 - Pentagonal Numbers
• 001. 51153 - A+B.
• 002. 50348 - Area and Perimeter of ...
• 003. 50349 - Area of a Triangle
• 004. 50350 - Fahrenheit to Celsius
• 005. 50797 - Nr of Missing Guests
• 007. 50280 - Division
• 010. 50357 - Convert Euros into...
• 015. 50356 - Hours Passed
• 020. 50351 - Convert inches to cm
• 025. 50294 - Centimeters to Yards
• 028. 50521 - Pound to Grams
• 030. 50341 - Separate Into Digits
• 034. 50502 - Welcome Andi - 1
• 040. 50879 - Passed or Failed
• 040. Problem 1

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
Question by Ibrahim Mesecan. Difficulty Alpha

Convert Euros into Dollars

Dardani Exchange office wants a computerized system. They want a program to convert currencies.

Input specification
You will be given two floating point numbers (euroRate, dollarRate) that are the conversion rates from Euros to Leke and from Dollars to Leke. Then you will be given another number (amount) that is Euro amount to be converted into Dollars where 0 ≤ amount ≤ 1000000.

Output specification
Show the Dollars equivalent of the given number rounded to two decimal places.

Sample Input I
  140.5 104
  1100
Sample Input II
  141 104.3
  1100
Sample Output I
  1486.06
Sample Output II
  1487.06


Для отправки решений необходимо выполнить вход.

www.contester.ru