There are two parts to this assignment, though not connected, but should be implemented in the same file to simplify.
1. Write code for a function that receives two parameters (a,and b) by value and two more parameters (c and d) by reference. All parameters are double. The function works by assigning c to (a/b) and assigning d to (a*b). The function has no return value.
From main, use scanf to get two numbers, then call the function, and then display both outcome values to the output in a printf statement.
2. After part 1 is completed, write code to get 20 integer numbers from the user. The code then displays how many of those numbers are above the average. To get proper credit you must follow these steps:
a. write a for loop to fill the array with numbers from the user. Use an array for this.
b. use a pointer to calculate the average of the numbers entered into the array of part a above, in another loop.
c. write a function, then pass the array, its size, and the average to that function. The function arguments would be a pointer to int, an int, and a float and it returns the count of the number of elements that are above the average.
You can't fault the paper quality and speed of delivery. I have been using these guys for the past 3 years and I not even once have they ever failed me. They deliver properly researched papers way ahead of time. Each time I think I have had the best their professional writers surprise me with even better quality work. Elite Academic Research is a true Gem among essay writing companies.
I really appreciate the work all your amazing writers do to ensure that my papers are always delivered on time and always of the highest quality. I was at a crossroads last semester and I almost dropped out of school because of the many issues that were bombarding but I am glad a friend referred me to you guys. You came up big for me and continue to do so. I just wish I knew about your services earlier.
Brilliant writers and awesome support team. You can tell by the depth of research and the quality of work delivered that the writers care deeply about delivering that perfect grade.
Thanks for keeping me sane for getting everything out of the way, I’ve been stuck working more than full time and balancing the rest but I’m glad you’ve been ensuring my school work is taken care of. I'll recommend Elite Academic Research to anyone who seeks quality academic help, thank you so much!
Absolutely spot on. I have had the best experience with Elite Academic Research and all my work have scored highly. Thank you for your professionalism and using expert writers with vast and outstanding knowledge in their fields. I highly recommend any day and time.
Pay an expert to take your online class and say goodbye to poor grades, missed deadlines, and the struggles
of balancing your education with other work/life responsibilities. Life Is too Short to Spend on Classes
You Have No Interest In. Focus on what is really important in your life. Let our professional handle your class.
Guaranteed A or B
Fill in free quote request
Tell us about your online class and what help you need. Try to give us the maximum information.
Agree on price
Our representative will contact you to discuss the details of your order and the rates for our assistance.
Pay and get help
When everything is agreed, you will receive an email with the invoice. After you pay, we start working on your task.