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
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
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
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
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
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
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 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 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. 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..
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 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
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... 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 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.. 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 Hi,
LWUIT is working in eclipse j2me for Symbian OS
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 how to print from a-z, A-Z with exact order using for loop?
Thanks for all concern
Help Me
Help Me What is the source code for Sample example for Mortgage Calculator in J2ME language for developing Symbian
help me
help me pls... xplain dis code:-
function go() {
window.location.replace("logout.jsp",'window','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1');
self.close