Need help with your Discussion

Get a timely done, PLAGIARISM-FREE paper
from our highly-qualified writers!

glass
pen
clip
papers
heaphones

CSCI 111 ELS Language Centers Ackerman Function Exam Practice

CSCI 111 ELS Language Centers Ackerman Function Exam Practice

CSCI 111 ELS Language Centers Ackerman Function Exam Practice

Question Description

this assignment has two parts, I want the coding to be as simple as possible. send me actual coding in text from.

I cannot write the whole question, so this is just the instructions. I will send you the file as soon as you accept my question.

part 1:

1. The usual header information.

2. The function should be named Ack.

3. Your function should have two arguments: m and n.

4. Your function should return the value of A(m, n) as defined above.

5. Your program must compute the value correctly (A(3, 4) = 125 as an example).

6. Your function should use recursion to compute the proper value.

7. Your program should print the final value in a clear understandable way.

8. Your program should ask the user for values for m and n.

9. Your program should check the user input to be sure that both m and n are nonnegative integers.If they are not, the user should be informed of the error and re-prompted.

part 2:

Write a program that will read in the data from the file ’input.txt’ line by line. For each line, print astring of *’s to the output file such that the number of stars on each line corresponds to the numberacquired from the input file for that line. The output file should look something like this

************************************

*************************

****************

*********

****

*

*

****

*********

****************

*************************

************************************

Call the output file ’output.txt’

Requirements for this program are as follows:

1. The usual header information.

2. Your program should open the input file and the output file in the appropriate modes.

3. Your program should read from the input file and write to the output file. If the numbers in theinput file are changed, your program should not require modifications to deal with the changes.

4. Your program should close the files correctly.

Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."

Order Solution Now

Our Service Charter


1. Professional & Expert Writers: Eminence Papers only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Eminence Papers are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Eminence Papers are known for the timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Eminence Papers, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.

We Can Write It for You! Enjoy 20% OFF on This Order. Use Code SAVE20

Stuck with your Assignment?

Enjoy 20% OFF Today
Use code SAVE20