challenges

Some problem solving programming challenges, i have solved. Not all are here, but started adding them slowly.

This project is maintained by chankruze

Argentina

You are in a hat store in Argentina! The prices are listed in US Dollars and Argentinian Pesos. You have both, but you want to make sure you pay the lower price! Do you pay in Dollars or Pesos? The exchange rate is 2 cents for every Peso.

Task

Create a program that takes two prices and tells you which one is lower after conversion.

Input Format

Two integer values, the first one is the price in Pesos and the second one is the price in Dollars.

Output Format

A string that says which currency you should make the purchase in (‘Dollars’ or ‘Pesos’).

Sample Input

4000
100

Sample Output

Pesos

Explanation

You should use Pesos to buy the hat since 4000 pesos is equal to $80.

Solutions

Language Solution
C not available
CPP not available
C# not available
Python available
Java not available
Ruby not available
Swift not available