[Help] Java program menu

User Tag List

Results 1 to 1 of 1
  1. #1
    Pietje's Avatar Active Member
    Reputation
    34
    Join Date
    Feb 2007
    Posts
    250
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Help] Java program

    As there has to be someone with some Java knowledge around on the world I'm going to try my luck here. I just got a pretty hard assignment (or so I think) for the very little info we got and I was hoping you guys could help me out. As far as I know I'm not allowed to use any libraries, just the standard Java.

    I will +rep for good hints, +more for a part of the program and drown you in it if you make the entire program! Obviously you will also get my eternal thanks. Shouldnt be too hard for anyone with some knowledge.

    Anyway here for the best translation I can make of the assignment:

    Write a program that can calculate the maximum, minimum, sum, average of a given line of doubles in a row. (just getting it to calculate and show somewhere would already be good).
    Example: { 7, 9,2 } should give Maximum 9.0, minimum 2.0, sum 18.0, average 6.
    { 0, .3, .4, 3, 4 } should give Max 4.0, min 0.0, sum 7.7, avg 1.54
    { -.4, -7, -9, -2 } should give : max -0.4, min -9.0, sum -18.4, avg-4.6
    { -3, -.4, -7, -9, -2 } should give: max -0.4, min -9.0, sum -21.4, avg -4.28

    Any help is GREATLY appreciated! I'm using Java SE Development Kit (JDK) 6 Update 10 to write it in.

    PLEASE! help, I'm desperate
    Panda Panda Panda

    [Help] Java program

Similar Threads

  1. starting some java programming can anyone help me
    By danielrhodea in forum Programming
    Replies: 5
    Last Post: 07-13-2010, 02:19 AM
  2. [Help] Java Bot reading offset values..^^°
    By kmJeepers in forum WoW Memory Editing
    Replies: 10
    Last Post: 06-22-2009, 10:43 AM
  3. My first helpful AutoIt program
    By jdismeuc in forum World of Warcraft Bots and Programs
    Replies: 21
    Last Post: 05-14-2008, 10:14 AM
All times are GMT -5. The time now is 11:09 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search