![]() ![]() ![]() Write a Ruby program which accept the user's first and last name and print them in reverse order with a space between them. Write a Ruby program to accept a filename from the user print the extension of that. Write a Ruby program to check whether a string starts with "if" Go to the editorĦ. Sample Output: Input the radius of the circle: The perimeter is 31.41592653.ĥ. Write a Ruby program which accept the radius of a circle from the user and compute the parameter and area. Write a Ruby program to create a new string which is n copies of a given string where n is a non-negative integer. ![]() Sample Output: Current Date and Time: 06:04ģ. Write a Ruby program to display the current date and time. Write Ruby program to get ruby version with patch number. ![]()
0 Comments
Leave a Reply. |