Results 1 to 2 of 2
Thread: Im having trouble with.......
- 03-12-2011, 04:58 PM #1
Member
- Join Date
- Mar 2011
- Posts
- 1
- Rep Power
- 0
Im having trouble with.......
I have just starting working on how to use Arrays in Jcreator.
I keep getting this error.....
Operator cannot be applied to double int
Here is my code......
import java.io.*;
public class Arrays_2
{
public static void main(String[] args)
{
double average;
double [] finalGrades = {85.8, 93.7, 76, 88.5, 100, 91.3};
}
}
Plz help
- 03-12-2011, 05:06 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,381
- Blog Entries
- 7
- Rep Power
- 17
Similar Threads
-
trouble animating
By rippon in forum AWT / SwingReplies: 3Last Post: 11-30-2010, 03:22 PM -
GUI Trouble
By rvgsd in forum New To JavaReplies: 2Last Post: 03-07-2010, 12:10 AM -
mouseListener trouble please help!
By linux1man in forum AWT / SwingReplies: 6Last Post: 06-03-2009, 01:57 AM -
Here comes trouble... :-)
By sargehendricks in forum IntroductionsReplies: 1Last Post: 04-23-2009, 03:18 PM -
having some trouble
By Unknown1369 in forum New To JavaReplies: 13Last Post: 07-21-2008, 11:52 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks