Using a Single-Array, create a program that asks the user to input a day of the week, the high temperature, and the low temperature. Calculate the Average High and Low.
hhagood 0 Newbie Poster
Recommended Answers
Jump to PostYou need to at least try to write the program. We'll help you, but we won't do it all for you. If you were awake during class or read some of the book, then you should have learned something about creating a class with a "main" method in it. Start …
Jump to PostWhat Jeff said. You'll need to read into getting input, declaring variables (such as a String array), using arrays, and outputting results. We won't do your homework for you.
Jump to PostSee what you can come up with and ask specific questions about what you are having trouble with. What you posted above is a direct copy of code you found elsewhere, so that's not going to cut it.
Jump to Post> Does this Code answer that question?
If you can't tell, you need to stop wasting peoples' time here.
Jump to Post> But the later work was really quite good
I don't believe that the later work was his own any more than the first "attempt", which was directly copied from a book. He did not even have the TemperatureInfo class and merely copied yours into his program.
All 22 Replies
JeffGrigg 170 Posting Whiz in Training
Slyvr 0 Junior Poster in Training
hhagood 0 Newbie Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
JeffGrigg 170 Posting Whiz in Training
hhagood 0 Newbie Poster
hhagood 0 Newbie Poster
Anyday 0 Newbie Poster
hhagood 0 Newbie Poster
JeffGrigg 170 Posting Whiz in Training
hhagood 0 Newbie Poster
JeffGrigg 170 Posting Whiz in Training
hhagood 0 Newbie Poster
JeffGrigg 170 Posting Whiz in Training
hhagood 0 Newbie Poster
JeffGrigg 170 Posting Whiz in Training
hhagood 0 Newbie Poster
luky279 0 Newbie Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
hhagood 0 Newbie Poster
JeffGrigg 170 Posting Whiz in Training
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.