943,564 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 503
  • Java RSS
Jun 9th, 2009
0

i urgently need java help!

Expand Post »
write an application that finds the smallest and average of twenty floating point numbers entered by the user.Use a for loop to capture the user input and store the numbers in an array. display the smallest number and the average of the numbers entered


i urgently write this program can someone help me with it plz?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
_Rosie_ is offline Offline
3 posts
since Jun 2009
Jun 9th, 2009
0

Re: i urgently need java help!

Nope no ones going to write that code for you, but we will not mind helping you write it.

Here are some tutorials :-
  1. Taking user input from console on Java[1,2,3]
  2. The For Loop in Java
  3. Arrays

Put them all together and you should be able to create your program.
Featured Poster
Reputation Points: 653
Solved Threads: 151
Nearly a Posting Virtuoso
stephen84s is offline Offline
1,316 posts
since Jul 2007
Jun 9th, 2009
0

Re: i urgently need java help!

Ya I agree with Stephan84s. You should atleast give a try. Your problem is very easy. Just give a try. I am also new to Java but more you try better you will become. Practice makes perfect.

Look you know everything that needs to be done but still you don;'t want to try writing a code ? Its bad. Plz give it a try.

Thanks
Reputation Points: 10
Solved Threads: 0
Junior Poster
Web_Sailor is offline Offline
164 posts
since Jun 2009
Jun 9th, 2009
0

Re: i urgently need java help!

lol thnx guyz but i realli dont know anything in java nd dis is my exam question
Reputation Points: 10
Solved Threads: 0
Newbie Poster
_Rosie_ is offline Offline
3 posts
since Jun 2009
Jun 9th, 2009
0

Re: i urgently need java help!

Click to Expand / Collapse  Quote originally posted by _Rosie_ ...
lol thnx guyz but i realli dont know anything in java nd dis is my exam question
An exam for which no doubt you would have been given a decent time to prepare ?
Sorry "_Rosie_" but thats an all the more bigger reason why we shouldnt be helping you, cause it would be cheating. I have already given you links to the tutorials, if you can put them together, you can construct what you want.
Last edited by stephen84s; Jun 9th, 2009 at 3:53 am.
Featured Poster
Reputation Points: 653
Solved Threads: 151
Nearly a Posting Virtuoso
stephen84s is offline Offline
1,316 posts
since Jul 2007
Jun 9th, 2009
0

Re: i urgently need java help!

Click to Expand / Collapse  Quote originally posted by _Rosie_ ...
lol thnx guyz but i realli dont know anything in java nd dis is my exam question
In that case you may fail .
Reputation Points: 769
Solved Threads: 128
Banned
ithelp is offline Offline
1,910 posts
since May 2006
Jun 9th, 2009
0

Re: i urgently need java help!

And hopefully learn valuable lessons from that failure.
Moderator
Featured Poster
Reputation Points: 3239
Solved Threads: 838
Posting Genius
Ezzaral is offline Offline
6,756 posts
since May 2007
Jun 9th, 2009
0

Re: i urgently need java help!

it was an open book exam which means u were allowed to search it on da net and get help from toher people...plus i only need java for this yr after this year i wont need java the rest of my life hopefully bdw thanx for da tutorials stephen i really appriciate it
Reputation Points: 10
Solved Threads: 0
Newbie Poster
_Rosie_ is offline Offline
3 posts
since Jun 2009
Jun 10th, 2009
0

Re: i urgently need java help!

The fact remains that you took the class that lasted several months. Meaning that all this time you should have studied. We have taken many exams on subjects that were for only 1 year and we would never come across again but that is not an excuse not to have studied.
Yes we would have helped you and provide you with solution under different circumstances but the simplicity of the questions indicates that you didn't study anything because the answers are very basic and easy. These are the first things that you get taught. So I see no reason to help you cheat.
Sponsor
Featured Poster
Reputation Points: 1014
Solved Threads: 446
Nearly a Senior Poster
javaAddict is offline Offline
3,258 posts
since Dec 2007
Jun 10th, 2009
0

Re: i urgently need java help!

open book exam means you're allowed to take a book for aid on the exam, normally, you don't get the questions up front. even if you're not that good at java and even if it was just a one hour course, it was a course, you've been tought, and the question itself is very, very easy.

this makes it even harder to believe that you still haven't even tried to solve it yourself, as you were told in the first replies.
Reputation Points: 919
Solved Threads: 353
Nearly a Posting Maven
stultuske is offline Offline
2,471 posts
since Jan 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: how to export database information?
Next Thread in Java Forum Timeline: A database problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC