Thanks this helped a bit. Are you able to post the full code so I can compare to what have. I have a feeling I'm way off. My teacher doesn't do a well job at explaining much.
Main Topics
Browse All Topicsim trying to write a program that uses nested loops to collect data and calculate the average rainfall over a period of years. Basically the program should ask for the number of years. The Outer Loop will iterate once for each year. The Inner Loop will iterate 12 times, once for each month. Each iteration of the inner loop will ask the user for the inches of rainfall for that month. After all iterations, the program shold display the number of months, the total inches of rainfall, and the average rainfall per month for the entire period.
Im having a hard time starting the code and that is why i have not posted anything.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
OOps soory, I thought he is the same other guy, who had posted incomplete code in another question, their problem questions are pretty much same @ Venabili
http://www.experts-exchang
OOps soory, I thought he is the same other guy, who had posted incomplete code in another question, their problem questions are pretty much same @ Venabili
http://www.experts-exchang
Business Accounts
Answer for Membership
by: a_bPosted on 2009-07-01 at 21:10:12ID: 24760406
To help you get started, nested loops -
for(int i=0;i<noOfYrs;i++)
{
for(int j=0;,j<12;j++)
{
// Do all the processing here
}
}