Good day to all programmers there!!!!,
please help me to my assignment, I need it tommorow!
I want a program that
1.input the name of student,
2.input his/her grades
3. display its grade rate
4. display if it is perfect, pased or failed


brightstar, I don't think you'll get any help if you just want somebody to do your homework for you. Try to write the program as best you can and then post if you have any questions....

public class YouFail {
    public static void main(String[] args) {
       System.out.println("brightstar fails, is didn't turn in its homework so has no grades");

There you go.

this is very simple,, at least do some coding.. fails!!

since you do not need it before tomorrow, it's quite an easy task.
couldn't take more than 1 hour from someone who has only been teached java for a month
(thinking about not the brightest student, and sure am stretching the time)

don't be afraid to start coding, and to post your code here, especially if it doesn't work.
it'll help you much more understanding if you programmed it yourself, and it might convince some people here that (one day) you might be serious about programming and might deserve some help

public class Homework {
    public static void main(String[] args) {
       System.out.println("grade is" + grade);


Hint: try to get the name of the student and his grades using the
BufferedReader input =new BufferedReader(new InputStreamReader(;
int userInput = Integer.parseInt(input.readLine());

or else use the Command Line input

C:\java MyTestCalculate studentname grade1

then write method for calculating the grade or rank using if else conditions.

thats all to help. Try you will get