The algorithm is defined as follows :
Step 1: Start.
Step 2: Read the amount in rupees and conversion rate.
Step 3: Calculate the equivalent amount in dollars using the following formula: amount in dollars = amount in rupees/conversion rate.
Step 4: Write the amount in dollars.
Step 5: Stop.