Sorry is just that I wanna finish this fast to start with more homework and I don't even get focused on what I'm doing.
Ok... at the end of the code I was thinking on writing something like ...
Type: Posts; User: Gerock7
Sorry is just that I wanna finish this fast to start with more homework and I don't even get focused on what I'm doing.
Ok... at the end of the code I was thinking on writing something like ...
number of classes
So it should look like
System.out.println(total=+grades);
Then
System.out.println("Enter number of grades: ")
calculate and print average, and gpa
--- Update ---
Is there anyway that you can put me a example step by step because I have 1hr to turn in the code and I don't know how to fix that
Could I see an example because I don't get it, like, what should I change or where should I add something
I fixed it and now I'm not getting any error but it is not working as it should be.
I'm usign BJ and when starting the demo it jumps to the part "Enter the number of grades:"
Then after choosing a...
I have this until now but how can I do in order to name a method inside the main method like
I have public static void main(String[]args)
{
public main StudentReport1 getData()
{...
I changed my code and declared
StudentReport1 method = new StudentReport1();
but is says "constructor StudentReport1 in class StudentReport1 cannot be applied
to given types; required:...
there's something
possible loss of precision
required: int; founr: double
total=getTotal(grades);
It doesn't really say error it just crash when running and Idk what I suppose to fix, idk if you could look the code of the demo. Thats where the error should be
--- Update ---
/**
*...
I change the variable to :
private int numOfClasses;
but it says illegal start of expression
--- Update ---
haha sorry thats was a dumb question it was because I declared the variables inside...
I haven't change the double numOfClasses sorry, but the main problem is that it says error and I don't know what is wrong in my code
I Think there must be something wrong with the getNumOfClasses...
I'm finishing this demo using get(whatever) in order to test a class
/**
* The ReportGenerator class uses the StudentReport1 class to simulate the report
* of a student. Holds fields for...