473,406 Members | 2,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Statistics program

Hello guys,

Need any advise, any tip on how to write this program:(coz I'm really stuck with this)

1. Allow a user to enter a number of results (a value between 2 & 30)

2. Process the required number of results by

• Allowing a user to enter a students name
• Allowing a user to enter a students grade (a value between 1 & 100).

3. When data entry is complete, display a menu with the following options

• Display average class grade
• Display highest class grade
• Display lowest class grade
• Sort & Display the grades in ascending order
• Search for an individual student by name

4. For each of the above functions, you are required to implement an appropriate method


I'm not asking to do it, just some tips to put me on track.
Thank you
Oct 30 '07 #1
2 1627
r035198x
13,262 8TB
Hello guys,

Need any advise, any tip on how to write this program:(coz I'm really stuck with this)

1. Allow a user to enter a number of results (a value between 2 & 30)

2. Process the required number of results by

• Allowing a user to enter a students name
• Allowing a user to enter a students grade (a value between 1 & 100).

3. When data entry is complete, display a menu with the following options

• Display average class grade
• Display highest class grade
• Display lowest class grade
• Sort & Display the grades in ascending order
• Search for an individual student by name

4. For each of the above functions, you are required to implement an appropriate method


I'm not asking to do it, just some tips to put me on track.
Thank you
You can start by learning how to use the Scanner class to get input from the user
Oct 30 '07 #2
heat84
118 100+
Alternatively , I think System.out.println and readLine methods of the console can be helpful.
Nov 14 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Justin Lebar | last post by:
Sorry about the huge post, but I think this is the amount of information necessary for someone to help me with a good answer. I'm writing a statistical analysis program in ASP.net and MSSQL7 that...
17
by: Felix | last post by:
Dear Sql Server experts: First off, I am no sql server expert :) A few months ago I put a database into a production environment. Recently, It was brought to my attention that a particular...
3
by: Metal Dave | last post by:
Hello, A script we run against the database as part of the upgrade of our product is failing with the following message: ALTER TABLE ALTER COLUMN EncodedID failed because STATISTICS hind_61_3...
12
by: Philip Sherman | last post by:
I'm trying to copy production statistics to a test database and can't set the column statistics for a VARGRAPHIC column to match what RUNSTATS generated on production. The reason code and some...
1
by: Jason | last post by:
Greetings, Is there a reliable and portable way of getting malloc statistics within a running C program? I have tried to use the mallinfo() command, but it isn't portable (reports different...
17
by: romixnews | last post by:
Hi, I'm facing the problem of analyzing a memory allocation dynamic and object creation dynamics of a very big C++ application with a goal of optimizing its performance and eventually also...
5
by: Allan Ebdrup | last post by:
Hi We have a large class library of different classes, now we are going to implement a lot of usage statistics that we need, stuff like how many times a user has logged in, how many times a...
2
by: Ulrike Klusik | last post by:
Hello Folks, i've got two structural identical tables (including tablespace and indexes) with identical data, on which the access path of an SQL is differs. But I don't see a reason for the...
0
ADezii
by: ADezii | last post by:
In last week's Tip, I showed you how to use the ISAMStats Method of the DBEngine (DAO) to return vital statistics concerning Query executions such as: Disk Reads and Writes, Cache Reads and Writes,...
5
by: Davo1977 | last post by:
Analysing text files to obtain statistics on their content You are to write a Perl program that analyses text files to obtain statistics on their content. The program should operate as follows: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.