This assignment consists of a series of five problems, each worth 20 points, that can be solved by writing a computer program. For each problem, design an algorithm using a series of comments and then implement the program using the Ruby language. Use RubyMine to create a project named Asg4 and, for each problem, add a file to the project named Asg4Exn.rb, where n is the problem number. For example, the filename of the first problem should be Asg4Ex1.rb. Within each file, add a comment block at the top that contains the program’s name, your name, date, the course title, your instructor’s name, the assignment number, the problem number, and a brief description of the program’s purpose.
Unformatted Attachment Preview
Purchase answer to see full attachment