ClioSport.net

Register a free account today to become a member!
Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • When you purchase through links on our site, we may earn an affiliate commission. Read more here.

Java help needed :)



Barron

ClioSport Club Member
  Turbo S,Exige,R5,182
need help with a simple programme in Java.

PM if you have even a basic knowledge of java :)

ta
carl
 
You might get a better response if you just tell everyone the problems here.. then everyone can collectively work together.
 

Barron

ClioSport Club Member
  Turbo S,Exige,R5,182
'Write a program that will find the smallest, the largest and the average value for a set of integer marks. The program will first ask the user to enter the number of marks. Following this the user will be asked to enter each mark in turn. Once the data is entered the program will process the data and output the values for the smallest mark, the biggest mark and the average of the set of marks.'


http://www.mediafire.com/?sharekey=4c6b5897ace705bbd2db6fb9a8902bda


it is all working now i just need to call the average, largest, smallest numbers into a final method and create a Joption output box
 

Barron

ClioSport Club Member
  Turbo S,Exige,R5,182
output box to look like

box.jpg


must be in a seperate method.
 
  185lb/ft dCi
so you need to set up an array where by the number that gets entered gets added to it. then you will need to run some for loops to determine the highest, smallest and average number. which bit are you stuck at?
 

Barron

ClioSport Club Member
  Turbo S,Exige,R5,182
its ok guys, sorted now :)

i hate java lol

first year of a computer forensics course at northumbria uni so i have no choice lol
 


Top