Homework

Homework Questions? Ask a Tutor for Answers ASAP

Ask an Expert,
Get an Answer ASAP!

This answer was rated:

I'm working on a program for a homework assignment and I…

I'm working on a...

I'm working on a program for a homework assignment and I can't figure out why it's not working. I've tried finding help online but am not having any success.

Tutor's Assistant: Is there a specific language you're coding in?

Python

Tutor's Assistant: What's your objective for this Python project?

This is the assignment I'm currently working on: Design a program that lets the user enter the total rainfall for each of 12 months into an array(list). The program should calculate and display the total rainfall for the year, the average monthly rainfall. I have the program written but something isn't right

Show More
Show Less
Ask Your Own Homework Question
Customer reply replied 5 months ago
This is what I have so far.
Answered in 2 hours by:
3/17/2018
LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13,507
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
Verified

Hi

Ask Your Own Homework Question

Welcome

just got your question

What is the deadline?

Ask Your Own Homework Question
Customer reply replied 5 months ago
The deadline is Monday at 5pm. We are required to use 3 modules. So i'm struggling to figure out how to have 3 and combine them together.Module main(). Calls the functions enterRain and rainStats. The array returned from enterRain should be assigned to a variable monthlyRain. monthlyRain should be passed to rainStats.
Module enterRain(). Uses a loop to allow the user to enter rainfall for each of 12 months. Each rainfall should be assigned to an array monthlyRain. monthlyRain should be returned to main() after rainfall for each month has been entered.
Module rainStats(monthlyRain). Accepts the array monthRain. Calculates a total for the year and an average rainfall per month from monthlyRain. Displays the total rainfall for the year and the average rainfall for each month.
Thank you!

Thank you for the info. Looking at the efforts, I am sending incremental offer. let me know once you accept it and I'll provide the code ASAP

Ask Your Own Homework Question

Are you there my friend?

Ask Your Own Homework Question

I see you provided some code. please wait while I provide the answer

Ask Your Own Homework Question

Here is working code:

http://www.wikisend.com/download/498630/Rainfall.py

Let me know if you need anything else or leave your rating by selecting five stars located on the top right of the question page. Giving a positive rating compensates the Expert for their time with you. Please remember that I will not be paid until you leave a positive rating for the answer.

Please consider adding bonus after rating

http://ww2.justanswer.com/help/what-if-expert-does-really-fantastic-job-hl

You can also come back and add a bonus at a later date by using the "Write a review or give a bonus" button on your question page.

We can continue the conversation until you're satisfied and rate my answer as excellent to credit me. I can address follow up questions and I'm always here to help.

You can ask me again using "For LogicPro only" at the start of your questions like other customers 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.

Thank you for using this site!

LogicPro

Ask Your Own Homework Question
Customer reply replied 5 months ago
When I tried to run the program to test it.. it says this:
Enter the rainfall for Month 1:
Traceback (most recent call last):
File "C:\Users\hinde\Downloads\Rainfall.py", line 39, in <module>
main()
File "C:\Users\hinde\Downloads\Rainfall.py", line 35, in main
monthlyRain = enterRain ()
File "C:\Users\hinde\Downloads\Rainfall.py", line 14, in enterRain
monthlyRain[index] = float(input())
ValueError: could not convert string to float:
>>>

Are you entering empty string. Please provide input for each prompt. See the sample output below:

Enter the rainfall for Month 1:1
Enter the rainfall for Month 2:2
Enter the rainfall for Month 3:3
Enter the rainfall for Month 4:4
Enter the rainfall for Month 5:5
Enter the rainfall for Month 6:6
Enter the rainfall for Month 7:7
Enter the rainfall for Month 8:8
Enter the rainfall for Month 9:9
Enter the rainfall for Month 10:10
Enter the rainfall for Month 11:11
Enter the rainfall for Month 12:12
Total rainfall for the year: 78.0
Average rainfall for each month: 6.5

If you still face issue, I can connect remotely and check the issue. let meknow

Ask Your Own Homework Question
Customer reply replied 5 months ago
Well when I ran it, it asked for the rainfall for the month and I entered a number and hit enter and it gives me an error

Let me take a look

Download and run remote help client software to let me see your screen

http://www.justanswer.com/remotedesktop/join.aspx?Session=351b9ffd-bcd9-4a61-b499-9d771d348311

Click on the link

On next page, click on "I Agree" button

Download and save on your computer desktop.

double click to execute or right click and click on Run

LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13,507
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
Verified
LogicPro and 87 other Homework Specialists are ready to help you
Ask your own question now
Customer reply replied 5 months ago
Actually I just figured out the issue on my end!! Thank you so much!!!!
This answer is protected
Would you like to ask this question?
If you've already paid for this answer, simply Login.
Was this answer helpful?

How JustAnswer works

step-image
Describe your issueThe assistant will guide you
step-image
Chat 1:1 with a tutorLicensed Experts are available 24/7
step-image
100% satisfaction guaranteeGet all the answers you need
Ask LogicPro Your Own Question
LogicPro
LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13,507
13,507 Satisfied Customers
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML

LogicPro is online now

A new question is answered every 9 seconds

How JustAnswer works:

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

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here.

DianeDallas, TX

< Previous | Next >

Meet the Experts:

LogicPro

LogicPro

Engineer

13,507 satisfied customers

Expert in Java C++ C C# VB Javascript Design SQL HTML

Manal Elkhoshkhany

Manal Elkhoshkhany

Tutor

4,556 satisfied customers

More than 5000 online tutoring sessions.

Linda_us

Linda_us

Finance, Accounts & Homework Tutor

3,138 satisfied customers

Post Graduate Diploma in Management (MBA)

Chris M.

Chris M.

M.S.W. Social Work

2,699 satisfied customers

Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)

F. Naz

F. Naz

Chartered Accountant

2,194 satisfied customers

Experience with chartered accountancy

Bizhelp

Bizhelp

CPA

1,887 satisfied customers

Bachelors Degree and CPA with Accounting work experience

Seanna

Seanna

Tutor

1,781 satisfied customers

3,000+ satisfied customers, all topics, A+ work

< Previous | Next >

Related Homework Questions
I'm struggling with this program and can't figure out what
Hi, I'm struggling with this program and can't figure out what I'm doing wrong. Below is what I'm trying to do... and I've attached my python file of what I have so far. My deadline is tomorrow at 2pm… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
13,507 satisfied customers
The problem Write a RainFall class that stores the total
The problem Write a RainFall class that stores the total rainfall for each of 12 months into an array of doubles. The program should have methods that return the following:the total rainfall for the y… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
13,507 satisfied customers
I'm doing a flowchart for average rainfall for programming.
I'm doing a flowchart for average rainfall for programming. The goal is to collect data and calculate the average rainfall over a period of time. I have the assignment were I started it … read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
13,507 satisfied customers
Assignment 1: Write a program that lets the user enter the
Assignment 1: Write a program that lets the user enter the total rainfall for each of 12 months into an array of doubles. The program should use two 12-element arrays. One array will hold strings, the… read more
ATLProg
ATLProg
Sr Software Engineer
Master\u0027s Degree
46 satisfied customers
I am working on a raptor flowchart and could use some
I am working on a raptor flowchart and could use some assistance on the assignment. The following is the assignment: Design a program that lets the user enter the total rainfall for each of the twelve… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
13,507 satisfied customers
Project #3 - Executable Python Program Your programming
Project #3 - Executable Python ProgramYour programming project will be a simple, working program, using Python language, which utilizes a good design process and includes:Sequential, selection, and re… read more
ATLProg
ATLProg
Sr Software Engineer
Master\u0027s Degree
46 satisfied customers
I'm having issues understanding my homework. My assignment
Hello, I'm having issues understanding my homework. My assignment is: In this project, create the pseudo code from the following request. The program must have some sort of menu that allows users to m… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
13,507 satisfied customers
I need to respond to the following question:Design the
I need to respond to the following question: Design the logic for a program that allows a user to enter 15 numbers, then displays each number and its difference from the numeric average of the numbers… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
13,507 satisfied customers
I not need an answer following question. I need to
I not need an answer for the following question. I need to explain step by step to a student how he can resolve this Pseudo Code using Python 3.4.3. Please, I need a really good step by step explanati… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
13,507 satisfied customers
Another Arrays Question: A local driver's license office has
Another Arrays Question: A local driver's license office has asked you to design a program that grades the written portion of the dirver's license program. The exam has 20 questions which are mulitple… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
13,507 satisfied customers
This Chapter before i start is concerning Arrays.Problem
This Chapter before i start is concerning Arrays. Problem is the following and pick either Pseducode or Flowchart Plus Python: (I did the Pseducode and Python did errors). Design a program that has 2 … read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
13,507 satisfied customers
FOR INGO U ONLY: Need some class and Linked List help on this
FOR INGO U ONLY: Need some class and Linked List help on this one. Here are the details: "Write a program that will let the user enter the total rainfall for a number of months. Prompt the user for th… read more
Ingo U
Ingo U
Master\u0027s Degree
358 satisfied customers
Write a program that lets the user enter the total rainfall
Write a program that lets the user enter the total rainfall for each of the 12 months into an array of doubles. The program should calculate and display the total rainfall for the year, the average mo… read more
ATLProg
ATLProg
Sr Software Engineer
Master\u0027s Degree
46 satisfied customers
This is the assignment given to me, I am having a difficult
This is the assignment given to me, I am having a difficult time with coding. Hence, why I am here. My professor has given me some partial code to "help" me. But once again, I am lost. Anyway, here is… read more
Expert
Expert
I need help with Pseudocode for a program that calculates the
I need help with Pseudocode for a program that calculates the following: the total rainfall for the year; the average rainfall for the year; the month with the most rain; the month with the least rain… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
13,507 satisfied customers
**To LOGICPRO** I have another two assignments that need to
**To LOGICPRO** I have another two assignments that need to be done in both Raptor and Python… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
13,507 satisfied customers
**LOGICPRO ONLY** Hello there, I have another two assignments
**LOGICPRO ONLY** Hello there, I have another two assignments due this week by Thursday 6 PM EST and was hoping you could help me again. Also, the last program you sent me had a couple of things that … read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
13,507 satisfied customers
Assignment 1: Your goal is to solve the following simple
Assignment 1: Your goal is to solve the following simple programming exercise. You have been asked by your accounting department to design an algorithm determining the annual profit for your company. … read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
13,507 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x