// numbers to work with
double[] nums = {1, 2, 3, 4.5, 5.5, 6, 7.5, 8, 9, 10};
double sum = 0;
// total sum
for (int i = 0; i < nums.length; ++i) {
sum += nums[i];
}
// final average
final double mean = (sum / nums.length);
Exactly what do you mean by 'C program in Java'
A Program in Java that spawns multiple threads is called a multithreaded program in Java.
You can write it with Windows NotePad, although using an IDE such as NetBeans or Eclipse is recommended. If you mean you want to learn Java, take a look at the tutorials at the Oracle site.
Generating random numbers in Java is somewhat of a misnomer because the numbers are actually semi-random.It means to use the program to obtain random integers to use in hypothetical situations such as statistics.
Many people make Java programs, but if you mean who invented the Java programming language it was James Gosling of Sun Microsystems.
it depends on what you mean... if you want to program it id then suggest you started with a program called robocode it teaches to learn java. other wise if your trying to access a program then do a system search.
It means you have not installed jdk and jre in your machine...
Write the numbers
It means write the next ten numbers that come after this.
A multithreaded program is one that has multiple threads in execution. They may execute parallel to one another or totally without relation to one another. In Java you can create multithreaded programs using Java threads.
"Mean" usually means "average", so you just add the numbers together, then divide by 8.
It mens write the the numbers. Escribir means to write and los numeros are numbers.