Ruby program to convert rupees to dollars


Following program shows you how to convert rupees to dollars
In this program we get rupees from user, once we get those we need to divide with 64 so that we get in dollars

 puts "Please enter rupees:"
 rupees = gets.to_f
 dollars = rupees / 64
 puts "#{dollars} Dollars"

Output:

Please enter rupees:
 5000
78.125 Dollars