# Thread: How to convert this into a program

1. Member
Join Date
Jun 2011
Posts
3
Rep Power
0

## How to convert this into a program

I figured this out but how would I convert this into a program. It's actually for my sixth grade science class but I want to have a program to go along with my model. My dad said I should use JOptionpane but I don't know what that is. thanks for any help. Please don't answer if you aren't going to help thank you.

Environment: In an environment where it snows frequently during the winter, and rains frequently during the spring. Most people are going to work or school during 6:00am to 10:00am, and coming home during 4:00pm to 6:00pm. At noon there is a lunch rush.

Season:
Spring = 3
Summer=1
Fall=1
Winter=5

Time:
6:00am to 10:00am: 5
9:00am to 11:00am: 2
12:00pm: 4
12:00pm to 3:00pm: 1
3:00pm to 6:00pm: 5
6:00pm to 9:00pm: 2
9:00pm to 12:00pm: 2
Make a program that adds up the numbers of both the season and time. If the output is
2, 3, or 4: Print Traffic is Low
5, 6, 7: Print Traffic is Medium
8, 9, 10: Print Traffic High

2. It is a fine post ).
I think here nobody don't want to take away opportunities that would yourself to find out the solve your task. BTW Do you read anythings about JOptionpane?

3. Member
Join Date
Jun 2011
Posts
3
Rep Power
0
I have no idea. It's due tommorow. Please Help!

4. Member
Join Date
Jun 2011
Posts
3
Rep Power
0
I mean I fugured out the logic not the program.

5. So you want that anybody writes all code. Maybe you just pay on this work?

6. It's actually for my sixth grade science class but I want to have a program to go along with my model.
Make a program that adds up the numbers of both the season and time.
Do you see the inconsistency between those two sentences?

Also, the whole thing is far too unscientific to be part of a science course. Do you take us to be as stupid as the 'top contributor' on Yahoo! answers who (maybe) fell for your ploy?

db

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•