the grAde

profileHashim-love1
Number04ExtraCredit.docx

CS 222 01

Chapter 04 Extra Credit

20 Points

Due: Monday, November 24, 2017

Design and test a recursive function that accepts two arguments into the parameters x and y. The function should return the value of x times y. Remember, multiplication can be performed as repeated addition as follows:

7 X 4 = 4 + 4 + 4 + 4 + 4 + 4 + 4

YOU MUST USE A RECURSIVE FUNCTION TO SOLVE THIS PROBLEM.

Test the function with at least 2 different sets of values.

Add the following comments to the beginning of the program.

Name: Your Name

Class and Section: CS 222 01

Assignment: Program Assignment 03 Extra Credit

Due Date: See above

Date Turned in:

Program Description: You write a short description of what the program will do

When you complete the program, do the following.

1. Create a folder with the following name: ProgramAssignment03EC

2. Copy your program and all appropriate files to this folder

3. Copy the folder to your folder in the I:\kopp\inbox\CS 222 01 folder