Purchase Solution

Java application problem

Not what you're looking for?

Ask Custom Question

Please help with the following problem.

Assistance with writing a program that will accept an unknown number of positive integers from the user (-1 to stop) and display their average." The application does not work correctly. Correct all the errors and also reformat to be consistent with good style standards.

I have uploaded a code for average numbers:

List any challenges that are encountered including compilation errors, logic errors, or runtime errors you had to resolve.

Rewrite the code new code once it has been done also.

Purchase this Solution

Solution Summary

This solution helps with java application problems.

Solution Preview

Hello student,
I have attached the completed solution.

/* AverageNumbers
* This program will get an unknown number of numbers from the user
* and determine their average. The user will quit by entering a -1
*
* IT171 DB1
*
* Changes done:
* 1. Change in the Program file name (AverageNumbers.java), because
* in java the Program file name should be same as Class name which contains the main method
*
* 2. Included a IF condition ...

Purchase this Solution


Free BrainMass Quizzes
Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Javscript Basics

Quiz on basics of javascript programming language.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Basic Networking Questions

This quiz consists of some basic networking questions.