Ruby program to find the arccosine of the given value
print "Enter value: ";
value = gets.chomp.to_f;
result = Math.acos(value);
print "Arccosine is: ",result;
Output:
Enter value: 0.5
Arc Cosine is: 1.0471975511965979
