Enhance the test score applicaion

Assignment Help JAVA Programming
Reference no: EM13693707

Make this program using java programming. Make this application in simple way.

Enhance the Test Score applicaion so it uses a "while" or a "do-while" loop plus a for loop.

NEED THE JAVA CODE

Part 1: Open the project named ch04_ex3_TestScore that stored in the ex_starts directory. Then, run the application to see how it works.

Part 2: Change the while statement to a do-while statement, andtest this change. Does this work any better than the while loop?

Part 3: Enhance the program so it uses a while or do-while loop that lets the user enter more than one set of test scores. When you do that, be sure to move the declaratios for the variables inside the loop so these variables ar einitialized each time through the loop. Test the application to make sure it works.

Part 4: Add code at the beginning of the while or do-while loop that asks the user how many test scores are going to be entered. Then, use this number in a for loop to get that many test score entries from the user. When the for loop ends, the program should display the sumamry data for the test scores. Test these enhancements.

Part 5: If you didn't alread do it, make sure that the code in the for loop doesn't count an invalid entry. In that case, an error message should be displayed and the counter should be decremented by one. Now, test to make sure this works.

Add comments in code section that will be useful in the future.

Reference no: EM13693707

Questions Cloud

How many bits should immediate field of i-type instruction : By how many bits should the immediate field of an I-type instruction be reduced to match the length on an R-type instruction for the follow modifications to the MIPS architecture?
Provide the structure of the major organic product : Problem- Provide the structure of the major organic product that results when 4-methlhexanal is heated in base and undergoes an aldol addition followed by dehydration
Prepare a java program draws a chess board : Write a Java program "chess.java" that draws a chess board with 8 x 8 squares, half of the squares are filled black and are interleaved with the white squares.
Define how many millmoles of acetate need to add to solution : Problem- you need to to produce a buffer solution that has a pH of 5.17 You already have a solution that contains 10 mmol (millimoles) of acetic acid. How many millmoles of acetate (the conjugate base of acetic acid) will you need to add to this s..
Enhance the test score applicaion : Enhance the Test Score applicaion so it uses a "while" or a "do-while" loop plus a for loop - Change the while statement to a do-while statement, andtest this change. Does this work any better than the while loop?
How a firewall can distinguish between two incoming requests : Explain how a firewall can distinguish between two incoming requests allowing one while denying the other - Can someone provide the answer with reference to computer networking?
Describe the process for reporting a computer crime : From the e-Activity, list the agencies that enforce the computer crime laws for your state. Describe the process for reporting a computer crime and the resources available to assist victims of computer crime in your state.
What fraction of hydrogen bonds are broken : Problem- Suppose a hydrogen bond in water has an energy of about 2 kcal/mol. Suppose a "made" bond is the ground state in a two state model and a "broken" bond is the excited state. At T = 300K, what fraction of hydrogen bonds are broken
Describe the various levels of penalties : Describe the various levels of penalties that someone can face for breaking the following laws including the Computer Fraud and Abuse Act of 1986 and the Florida Criminal Use of Personal Identification Information.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd