How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask LogicPro Your Own Question

LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 12491
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
29751445
Type Your Homework Question Here...
LogicPro is online now
A new question is answered every 9 seconds

Write a program to calculate and display the average of an unknown num

Customer Question

Write a program to calculate and display the average of an unknown number of positive floating point values entered by a user. The input is terminated by entry of any negative number.
1. Provide your analysis for the following problem statement: You need to write a program that calculates the average of a number of positive floating point values entered by a user. The number of values entered by the user will be different each time, and the user will indicate they have entered all values by inputting a negative number. Do not include the negative number in the average.
Your analysis should be clearly written and demonstrate your thought process and steps used to analyze the problem. Be sure to include what is the required output. What is the necessary input and how you will obtain the required output from the given input. Also, include your variable names and definitions. Be sure to describe all necessary formulas and show sample calculations that show how the process works.
Submitted: 1 year ago.
Category: Homework
Expert:  LogicPro replied 1 year ago.
Hi,
Welcome
Thank you for asking me. Hope you are doing well.
What exactly is needed?
What is the deadline?
Customer: replied 1 year ago.

I need everything that I asked above and I need it by tomorrow at least by five pm

Expert:  LogicPro replied 1 year ago.
So you need only analysis and formula?
Customer: replied 1 year ago.

Write a program to calculate and display the average of an unknown number of positive floating point values entered by a user. The input is terminated by entry of any negative number.

1. Provide your analysis for the following problem statement: You need to write a program that calculates the average of a number of positive floating point values entered by a user. The number of values entered by the user will be different each time, and the user will indicate they have entered all values by inputting a negative number. Do not include the negative number in the average.

Your analysis should be clearly written and demonstrate your thought process and steps used to analyze the problem. Be sure to include what is the required output. What is the necessary input and how you will obtain the required output from the given input. Also, include your variable names and definitions. Be sure to describe all necessary formulas and show sample calculations that show how the process works.

2. Provide your program design for the program you analyzed for calculating the average of an unknown number of floating point values. Be sure to describe the fundamental tasks (i.e., things your program must do) needed to solve the problem so you can use a modular design. Provide pseudocode of your overall design that includes the Main module and the order of the module calls, and a flow chart. You can use Word, Powerpoint, Visio or any software you have available that will allow to draw shapes and connectors. You may also download and use Raptor.

Include header and step comments in your pseudocode.

3. Prepare input data (Test data) along with expected output for testing your program Your test data should be presented in the form of a table as was shown in Assignment 1. Remember that you will be testing that a negative number ends the input, so your test data needs to include the negative number that marks the end of the input. Your test data should not show internal calculations or variables.

Submission requirements:

Your completed assignment should be saved as two files and submitted to your LEO assignment area no later than the due date



  1. The first file is a Word document containing your problem analysis, program design, and test data. Your document should be neat, well-written with minimal grammatical and spelling errors. Your name should be clearly listed on the first page along with the class/section, professor and due date. Your document should contain page numbers at the bottom of each page, and be single spaced.

  2. The second file will contain your flow chart. Nothing other than the chart should be in this file. If you use Raptor, you may submit the .rap file instead of a Word file fr this second file.


You should name the first file lastname_firstname_HW3.docx (or lastname_firstname_HW3.doc). So if my name was ***** *****, I would name my document Smith_Pat_HW3.docx. The second file is named lastname_firstname_HW3_flowchart.docx (or lastname_firstname_HW3_flowchart.doc). So if my name was ***** *****, I would name my document Smith_Pat_HW3_flowchart.docx.

If you make your flowchart with a program other than Word, use the appropriate extension instead of the doc or docx above. Raptor files can always be submitted for flowcharts. If you use some program other than MS Word or Raptor, check with me first to be sure that I can read the file. Programs that I cannot access are not acceptable for submissions.

Your submission needs to meet the submission requirements. That means that it must be a Word document. Email submissions are not acceptable; it must be submitted through the WebTycho assignment area. The name of the file must meet the file naming requirements.

If you do not have an acceptable submission, it will be returned to you for resubmission. The due date will continue to apply if you do not submit an acceptable submission in your original attempt.

The following are examples of what is not acceptable



  • Open Office format file

  • .txt file

  • Microsoft Works format file

  • a Word template file, that is the file name ends with .dot instead of .doc or .docx

  • anything other than a Microsoft Word document file


An example HW3.doc template file containing the required sections is included in the available resources. You should use this document to start your writing and fill in all of the details required.

Expert:  LogicPro replied 1 year ago.
THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.
Expert:  LogicPro replied 1 year ago.
Javier
Hi again,
Just following up with you to see how everything is going and if you have more questions for me.
You can ask me again using "For LogicPro only" at the start of your questions like you do to get instant answers.
It will ensure that question is for me.
Please bookmark my profile page:
http://www.justanswer.com/homework/expert-logicpro/
so you can come back and ask me a question anytime.
If you need any additional information on this answer, please don't hesitate to ask by clicking on 'Reply to Expert', and I will reply as soon as possible.
I hope you found the information in my answer helpful, and if so, please let me know, here. Thank you!
Thanks very much for using Just Answer!
Best wishes
LogicPro
https://ww2-secure.justanswer.com/help/do-i-have-rate-answer
http://ww2.justanswer.com/help/how-do-i-rate-answer-hl
Customer: replied 1 year ago.

I just want to make sure that the answer you provided me is not something you have already given to someone else. I don't want my teacher to come back and say I copied from someone. I would hate for any other of my classmates to turn in the same answer.

Expert:  LogicPro replied 1 year ago.
As this is public link, it may be downloaded. You can change it to give your personal touch before submitting
Expert:  LogicPro replied 1 year ago.
Javier
Hi again,
Just following up with you to see how everything is going and if you have more questions for me.
You can ask me again using "For LogicPro only" at the start of your questions like you do to get instant answers.
It will ensure that question is for me.
Please bookmark my profile page:
http://www.justanswer.com/homework/expert-logicpro/
so you can come back and ask me a question anytime.
If you need any additional information on this answer, please don't hesitate to ask by clicking on 'Reply to Expert', and I will reply as soon as possible.
I hope you found the information in my answer helpful, and if so, please let me know, here. Thank you!
Thanks very much for using Just Answer!
Best wishes
LogicPro
https://ww2-secure.justanswer.com/help/do-i-have-rate-answer
http://ww2.justanswer.com/help/how-do-i-rate-answer-hl