In this assignment you will write functions for two programs (Program 1 and Program 2) that will include your functions. Each program will be well documented (commented) and submitted in a separate document. Program 1 First write functions for the following: A function “circleArea (radius)” that returns the area of a circle having the given radius. (The formula is A = πr^2 .) A function “circlePerimeter(radius)” that returns the perimeter of a circle having the given radius. (The formula is P = 2πr .) Then write a main program that uses these functions to compute the area and perimeter of a circle given the radius. The program should prompt the user for the radius and then print out the area and perimeter. A sample run for the program is as follows: Enter the radius of the circle: 5 Area of the circle is 78.5 Perimeter of the circle is 31.4 Program 2 Write a function to compute the nth number of the following series: Given a value x, multiply all the non-zero digits of x together and then add that value to x to get the next number in the series. The function should be named: some_series. 1, 2, 4, 8, 16, 22, 26, 38, 62, 74, 102, 104, 108, 116, 122, 126, 138, 162, 174, 202, 206, 218, 234, 258, 338, 410, 414, 430, 442, 474, 586, 826, 922, 958, 1318, 1342, 1366, … Write a main program that prompts the user to enter “n” and prints out the nth number of the series. A sample run for the program is as follows. Enter a positive integer: 6 The 6th number of the series would be 22
Why Choose Us
Top Quality and Well-Researched Papers
We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.
Professional and Experienced Academic Writers
We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.
Free Unlimited Revisions
If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.
Prompt Delivery and 100% Money-Back-Guarantee
All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.
Original & Confidential
We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.
Customer Support 24/7
Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Services we offer
You do not have to soldier through school on your own! We are what you need.
Your high school and campus essays have never been easier to complete. At any time of the day, and any type of paper, look to us for professional help and maintain your grades. we are available 24/7 to solve your essay problems and give you constructive and lasting solutions. School just became easier for you because you discovered us. Forget about the struggles of writing essays and live in the moment as you should.
some papers are not just simply papers. they require meticulous research and studies. you might need to go as far as choosing a sample group to perform your research on. we know how hard and time-consuming dissertation papers can be, but here is some good news; we have professionals that thrive in that field. let us work on your reserach, thesis and dissertation papers and ease the stress you would have. you can get the best grades at pocket friendly prices and without all the struggles.
Admission and Business Papers
An admissions letter is an essay you will write before you join the institution. If you want someone who will present you as an irresistible candidate, look no further. We will write you the best paper that will get your foot right through the door. Your business proposals will also be handled by the best in the industry. You will be a testament to our services.
Editing and Proofreading
Our editorial team of professionals will take your papers through multiple checks to ensure that you have no errors, mistakes or cases of plagarism. Your paper will achieve professional status because you chose to trust expert. We also include citations and sources using the correct format as required by your institution. Whether you wat it in APA, MLA, Chicago or Harvard, we have specialised in all writing formats.
sometimes, you spend hours and hours working on a paper but its just not giving the content as you had hoped. if this is what you feel, you shouldnt hand in that paper. instead, let us help you rewrite it so that it says what you had originally intended. all you need to do is allow us to read your first draft, collect your main points and ideas and tailor it to make sense and give you what you were hoping for. as you develop your writing skills, don allow your grades to fumble. that is why we are here for you.