i urgently need java help!

Reply

Join Date: Jun 2009
Posts: 3
Reputation: _Rosie_ is an unknown quantity at this point 
Solved Threads: 0
_Rosie_ _Rosie_ is offline Offline
Newbie Poster

i urgently need java help!

 
0
  #1
Jun 9th, 2009
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?
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 1,175
Reputation: stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light 
Solved Threads: 125
Featured Poster
stephen84s's Avatar
stephen84s stephen84s is offline Offline
Veteran Poster

Re: i urgently need java help!

 
0
  #2
Jun 9th, 2009
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.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."

"How to ask questions the smart way ?"
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 129
Reputation: Web_Sailor is an unknown quantity at this point 
Solved Threads: 0
Web_Sailor's Avatar
Web_Sailor Web_Sailor is offline Offline
Junior Poster

Re: i urgently need java help!

 
0
  #3
Jun 9th, 2009
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
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 3
Reputation: _Rosie_ is an unknown quantity at this point 
Solved Threads: 0
_Rosie_ _Rosie_ is offline Offline
Newbie Poster

Re: i urgently need java help!

 
0
  #4
Jun 9th, 2009
lol thnx guyz but i realli dont know anything in java nd dis is my exam question
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 1,175
Reputation: stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light 
Solved Threads: 125
Featured Poster
stephen84s's Avatar
stephen84s stephen84s is offline Offline
Veteran Poster

Re: i urgently need java help!

 
0
  #5
Jun 9th, 2009
Originally Posted by _Rosie_ View Post
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.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."

"How to ask questions the smart way ?"
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,824
Reputation: ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all 
Solved Threads: 117
ithelp's Avatar
ithelp ithelp is offline Offline
Posting Virtuoso

Re: i urgently need java help!

 
0
  #6
Jun 9th, 2009
Originally Posted by _Rosie_ View Post
lol thnx guyz but i realli dont know anything in java nd dis is my exam question
In that case you may fail .
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 4,438
Reputation: Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of 
Solved Threads: 510
Moderator
Featured Poster
Ezzaral's Avatar
Ezzaral Ezzaral is offline Offline
Industrious Poster

Re: i urgently need java help!

 
0
  #7
Jun 9th, 2009
And hopefully learn valuable lessons from that failure.
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 3
Reputation: _Rosie_ is an unknown quantity at this point 
Solved Threads: 0
_Rosie_ _Rosie_ is offline Offline
Newbie Poster

Re: i urgently need java help!

 
0
  #8
Jun 9th, 2009
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 1,653
Reputation: javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all 
Solved Threads: 223
Featured Poster
javaAddict's Avatar
javaAddict javaAddict is offline Offline
Posting Virtuoso

Re: i urgently need java help!

 
0
  #9
Jun 10th, 2009
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.
Check out my New Bike at my Public Profile at the "About Me" tab
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 706
Reputation: stultuske is a jewel in the rough stultuske is a jewel in the rough stultuske is a jewel in the rough 
Solved Threads: 84
stultuske's Avatar
stultuske stultuske is offline Offline
Master Poster

Re: i urgently need java help!

 
0
  #10
Jun 10th, 2009
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC