Rupee to Dollar Conversion
python# Input exchange rate (USD to INR)
exchange_rate = float(input("Enter exchange rate (USD to INR): "))
# Input amount in INR
amount_inr = float(input("Enter amount in INR: "))
# Convert INR to USD
amount_usd = amount_inr / exchange_rate
# Display result
print("Amount in USD: ", amount_usd)
You can run this program in a Python environment, such as IDLE, PyCharm, or VSCode, and it will prompt you to enter the exchange rate and the amount in Indian Rupees. It will then calculate and display the equivalent amount in US Dollars based on the provided exchange rate. Please note that the exchange rate should be the current exchange rate at the time of running the program for accurate results.