There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
black screen blue screen boot computer connection crash css dell display driver drivers error excel firefox firefox 3 game hard drive internet internet explorer itunes laptop lcd linux malware monitor network networking nvidia outlook outlook 2003 outlook express partition password printer problem problems ram router slow software sound sprtcmd.exe trojan usb video virus vista windows windows xp wireless
Software Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
Java


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
mshabsovich's Avatar
Computer Specs
Senior Member with 623 posts.
 
Join Date: Jun 2005
Location: St. Louis, MO
Experience: Enough to break something and fix it again
02-Nov-2005, 04:15 PM #1
Java
can some one help me make a simple java program that creates an array of 20 slots, then fills them with random integers between 1 and 100. it prints the 20 integers. then lists them in ascending, then descending order (print). and then prints the highest number and the lowest number out of the array. finally it prints the average of the 20 integers. Thanks
__________________
There are tree types of mathematicians, ones that can add and ones that cant.

"I may be drunk, Miss, but in the morning I will be sober and you will still be ugly." - Winston Churchill

Keep away from people who try to belittle your ambitions. Small people always do that, but the really great make you feel that you, too, can become great.
~ Mark Twain
AGCurry's Avatar
Senior Member with 431 posts.
 
Join Date: Jun 2005
Location: Kansas City area
Experience: advanced but learning
02-Nov-2005, 04:52 PM #2
Sounds like you have a programming assignment from a Java class. Better get busy!
mshabsovich's Avatar
Computer Specs
Senior Member with 623 posts.
 
Join Date: Jun 2005
Location: St. Louis, MO
Experience: Enough to break something and fix it again
02-Nov-2005, 06:08 PM #3
yes thats true. i am a bit stuck
the_nerdette's Avatar
Senior Member with 299 posts.
 
Join Date: Aug 2005
Experience: the average person<me<the average computer person
08-Nov-2005, 02:11 PM #4
hint: loops.
Chicon's Avatar
Computer Specs
Distinguished Member with 6,680 posts.
 
Join Date: Jul 2004
Location: 50° 34' 07.13" N - 04° 10' 23.
Experience: Second socks retriever
11-Nov-2005, 03:53 PM #5
Look at the Arrays section of this page .
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 09:48 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.