Do I have to keep setting the path file for javac in cmd when compiling more than 1 program?
For instance, I have set path for javac and compiled "forexample.java" so it now has a class file so I...
Type: Posts; User: fallout87
Do I have to keep setting the path file for javac in cmd when compiling more than 1 program?
For instance, I have set path for javac and compiled "forexample.java" so it now has a class file so I...
Thanks Freaky Chris.
That link lead me to solving my problem.
In case anyone was curious to the solution:
//Programming Projects 9.1
public class PP9_1
{
Trying to get a non void method to return the first 3 letters of a word but get the following error corresponding to the error in the attachment
"Type mismatch: cannot convert from int to string"
Doesn't matter.
Figured it out now.
Thanks anyway : )
Have done a re-vamp of my code, first I'll put up what happens when you run the code then after that will be the actual code in eclipse....
Hi
Thanks for the replies...
I'm trying to print if the contestantScore array elements are above or below the average using a function. I know I have to pass the contestantScore array elements ...
Hi
I need some help creating a function that will check if each element in the array "contestantScore[]" which is defined from user input, is less or more than the variable "average" which is...