Chapter 3B Homework.docx - Chapter 3 Assignment 3B Ruby Programming Assignments consist of a series of problems that can be solved with a computer

Chapter 3B Homework.docx - Chapter 3 Assignment 3B Ruby...

This preview shows page 1 - 2 out of 3 pages.

Chapter 3 Assignment 3B Ruby Programming Assignments consist of a series of problems that can be solved with a computer program. Your objective is to create a program for each problem presented. Use RubyMine to create a project that contains a source file for each problem. When finished, you will compress the project folder into a single file and submit that file within Blackboard. Each assignment will consist of 4 problems, each worth 25 points, for a total of 100 points possible. Getting Started To begin, open RubyMine and create a new project named Asg3b. For each problem, add a file to the project named Asg3bExn.rb, where n is the problem number. For example, the first problem should be represented by Asg3bEx1.rb. =begin Your Name the program’s name, date, CIS 116, the assignment number, the problem number, brief description of the program’s purpose. ex: StudentA planted 18 fewer trees than StudentB. StudentA planted 26 trees. How many trees did student B plant? =end Below the comment header block, enter in the algorithm, which should consist of a series of steps that, when followed in the order presented, solve the problem. Each step should be a comment

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture