this is the code
the if (grade >= 40 && <= 90) is underlined saying... illegal start of expression
*/
package testing;
import java.util.Scanner;
/**
Type: Posts; User: dokunbam
this is the code
the if (grade >= 40 && <= 90) is underlined saying... illegal start of expression
*/
package testing;
import java.util.Scanner;
/**
Am still getting illegal start of expression
if (grade >= 40 && <= 90){
System.out.println("The number of " + gradecounter + " passed the Exam" );
}
...
Am trying to print the grade btw 40 and 90 be those that passed and less than 40 for those that failed the exams.
the the else statement to meet the condition (No grade is entered) is giving me...
what am trying to do is to create array spreadsheet where the numbers will display in rows and columns
not on a single line
public static void main(String[] args) {
// TODO code application...
i want to create rows and column with those numbers and run it
public static void main(String[] args) {
// TODO code application logic here
int[][]aryNums;
aryNums = new int [2][6];
aryNums[0][0] = 10; aryNums[1][0] = 60;
...
Guys help me out on this too
public static void main(String[] args) {
// TODO code application logic here
int[][]aryNums;
aryNums = new int [2][6];
...
some thing is wrong here too
i will not give up
i hope some day i will give answer to people's problem
public static void main(String[] args) {
// TODO code application logic...
ok so what should i do
am a still a learner, just started 3 days ago
am trying to make this code work to do simple calculation
package inputuserifstatement;
import javax.swing.JOptionPane;
public class Inputboxesifstatement {
public static void...
thanks guys i have got it and its working perfectly now
then i will move on to JAVA OPTION PANES
ok thanks
--- Update ---
for the scanner i have that in place immediately after
public class void main(string[] args) {
still have error (something like a small bulb and a red dot on that...
Am a beginner and am learning on my own
i started two days ago and am getting on fine
but i have a problem now, some should pls help out
i started with JAVA somedays ago and i think am...
Am a beginner and am learning on my own
i started two days ago and am getting on fine
but i have a problem now, some should pls help out
i started with JAVA somedays ago and i think am...