What is the average rainfall of French Guiana?

Java program help.. Write a program using loop and file to collect the rainfall over a period of years?

  • Write a program using loop and file to collect the rainfall over a period of years and calculate the average rainfall: 1. ask the user for the number of years. Perform input validation on the number of years to make sure it is at least 2 years 2. using a nested loop to collect the inches of rainfall for each month over those years. Perform input validation for rainfall to make sure it is positive 3. calculate the total inches of rainfall, and the average rainfall per month for the entire period. 4. write each month's rainfall, total inches of rainfall, and the average rainfall into a file named rainfall.txt

  • Answer:

    so what is your question?

pinder at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

Try a few things first. You'll have to make the start, we're here to help you if you're stuck, not to do your homework for you. If you extend the question with the code you already have I'll look into it, if not, good luck on finding someone who will do your entire homework assignments for you.

Ahmed

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.