Help Me in My Java Work

Ads
 

Help Me in My Java Work

Can you help me please...

Write a Java application, to be called GpaCalculator, which will return a grade point average (GPA) when given a range of decimal figures representing a selection of exam marks. The GpaCalculator should assign a GPA value to each exam mark, and then calculate the average grade point value for all the marks entered. The GPA points for individual marks are given below:

(i) A mark ranging from 90 to 100% is awarded a GPA of 4.0 (ii) A mark ranging from 80 to 89%: is awarded a GPA of 3.5. (iii) A mark ranging from 70 to 79%: is awarded a GPA of 3.0. (iv) A mark ranging from 60 to 69%: is awarded a GPA of 2.5. (v) A mark ranging from 55 to 59%: is awarded a GPA of 2.0. (vi) A mark ranging from 50 to 54% is awarded a GPA of 1.5. (vii) A mark ranging from 45 to 49% is awarded a GPA of 1.0. (viii) A mark below from 45% is awarded a GPA of 0.

The GpaCalculator application should prompt the user to enter a series of integer or decimal values ranging from 0 to 100. These values should be entered one at a time and, if a value of â??-1â?? is entered, then the GpaCalculator application should terminate. Here is an example of the GradeClassifierâ??s input and output for valid data:

Example of GpaCalculatorâ??s output for valid input :

Enter a mark between â??0â?? and â??100â?? or â??-1â?? to exit: 91 Total number of marks entered so far: 1. GPA = 4.0 Enter a mark between â??0â?? and â??100â?? or â??-1â?? to exit: 89 Total number of marks entered so far: 2. GPA = 3.75 Enter a mark between â??0â?? and â??100â?? or â??-1â?? to exit: -1 Total number of marks entered: 2. GPA = 3.75. Application terminated.

NOTE: The GpaCalculator application should also respond appropriately to invalid input (by displaying an error message if the user enters a number which is below -1 or above 100). The deadline submission date for this assignment is November 8, 2011. Late submissions will be penalized.

View Answers

Ads









Related Tutorials/Questions & Answers:
Help Me in My Java Work
Help Me in My Java Work  Can you help me please... Write a Java application, to be called GpaCalculator, which will return a grade point average (GPA) when given a range of decimal figures representing a selection of exam marks
hello. can anyone help me with my java project, using jcreator?
hello. can anyone help me with my java project, using jcreator?  this is how it goes.. we are to develop a GUI of a certain form, in my case this one... just couldn't solve it.. alot of errors.. pls do help... thanks
Advertisements
Please help me to modify my java code from php code
the exact result as the above PHP code is giving. So please help me to convert...Modify Java code from PHP Code  i want to covert this php code int java/JSP. if (isset($_POST['orders'])) { $orders = explode('&', $_POST
Please help me to modify my java code from php code
Please help me to modify my java code from php code  i want to covert... help me to convert it into Java. if (request.getParameter("orders") != null... same, as they alter it before. Please help me on this topic "how to order rows
help me about to solve my qustion
help me about to solve my qustion   An employee receives 15 SR per... SR per hour . Write a java class that ask a user to enter the number of hours he work for day . Compute and display his salary for that day
I need help on my Java code.... please please help me out!?
I need help on my Java code.... please please help me out!?  Well my... in the file. Also it should be displayed on the screen. However my code doesn't display the anagram on screen or the output file! Please show me whats wrong. Thanks i
Help me please with my final homework
Help me please with my final homework  Write a Java program of your choice that demonstrates the following concepts: ? Input and Output. ? Selection/Conditional (e.g. if statement). ? Arithmetic. ? Loops. ? Arrays
PLEASE HELP WITH MY JAVA
PLEASE HELP WITH MY JAVA  Hey my name is Gavin and im a student at school that takes IT. my teacher has gave me a problem and i can't figure it out please help!!!!!!!! it is a for-loop question: Display the first 5 multiples
Help me - Java Beginners
Help me  I m using session in my project session is activated and admin_home.jsp page will be display but data r not displayed plz guide what is incorrect my code
help me .. Java
help me .. Java  ReadStudentsData that takes as parameters an array NAMES of String and another array SCORES of int. It should read an unspecified number of students?? scores and names. This method will return the number
Help With My Java Project?
Help With My Java Project?  Write a console program that repeatedly prompts the user to enter data until they type done (any case, Upper, Lower... to put it all together to make it work. please help import
plz help me - Java Beginners
plz help me  deepak hw can i create a data grid in jsp and also how can i connect to the data base plz help me  to create data grid in jsp use html tables with borders. to connect to data base use scriptlets. ex
help me
help me  MY GLASSFISH SERVER NOT START PROPERLY help me warning shows DPL5404:Specification-Version for the optional package [ GNUJAXP ] in the jarfile [ C:\Program Files\Java\jdk1.7.0_02\jre\lib\ext\gnujaxp.jar
help me
help me  please send me the java code to count the number of similar words in given string and replace that word with new one
Help me to write this simple java frame program
Help me to write this simple java frame program   I want to write a Java program for.... To create a frame with 4 text fields;name,street,city and pin;with suitable labels. Also add a button "OK". After enter values
java program for me to see who are on my server
java program for me to see who are on my server  Hello, Im a beginner in java, doing some tutorials and stuff. I wanna write a java program to put on my server where i wanna see if like 3 people are on my server PLUS that i want
this is my javascript code and i am not understanding the mistake in this,please help me?
this is my javascript code and i am not understanding the mistake in this,please help me?  <html> <h2>Form Validation</h2> <script language = "Javascript"> function checkEmail
Help me plz in Probablity distribution of Java
Help me plz in Probablity distribution of Java  Hello, I have an issue I have connected my JDBC driver with my database.. Now I want to randomly generate transactions with my db such that 0.7% is select query and 0.3
help me
help me  i have done as u directed but nothing happens gud to me..... . i am using netbeans is that matter at all help me and take me out from trouble where to store jfree api to use it for j2ee based project
help me
help me  Hi I'm loges. I'm doing my final year project now, I have some problem in my project and i need some help on it. NowI'm doing a site... button, and nationality I'm using dropdown list. Please help me. your kindness
help me
help me  HI. Please help me for doing project. i want to send control from one jsp page to 2 jsp pages... is it possible? if possible how to do
help me
help me  Dear sir/medam i would like to know how to use the java string class method my programm have four button,(enter the text) that first... the order, Fourth button is Find length of text. and there are panels. Please help me
i need latest oracle certified java dumps.. Pleas help me?
i need latest oracle certified java dumps.. Pleas help me?  i need latest oracle certified java dumps.. Pleas help me
help me..
help me..   what are the component needed by grid computing, cloud computing and ubiquitous computing? discuss about the security of above computing. difference between that 3 computing
help me...
help me...  Write a program that inputs four words and them displays all possible permutations of the words. So, for example, if the words mad, dog, bites and man are entered, then the following are output : man bites mad dog
help me..
help me..  Write a program that inputs four words and them displays all possible permutations of the words. So, for example, if the words mad, dog, bites and man are entered, then the following are output : man bites mad dog mad
Help me
Help me  plz i want code of program to add real numbers and magic numbers in java example this input :- 5+3i-2+3i output:- 3+6i
help me...
help me...  there is the picture given - cat - dog - rabbit - mouse a. create a class name b. create its attributes (at least 3 attributes) : species, size, leg c. create its methods ( at least 3 methods) : walk, eat, sleep
Help me
Help me  hello!!!!. i have a Excel file which includes 4 columns and somewhat 8500 rows.these rows i have printed in SQL thru Excel file and i have... out from java output so how to do all dis
help me..
help me..  Design and write a class named Person and its two subclasses named Student and Employee. Make Lecturer and Admin subclasses of Employee. A person has a name, address, phone number and email address. A student has
help me
help me

Ads