Urgently need help for a school progect

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • max3
    New Member
    • Jul 2007
    • 13

    Urgently need help for a school progect

    Please can someone help me run this program I must be misssing something and it's not working thanks to all.




    /**
    * Write a description of class Records here.
    *
    * @author (Ryan MIfsud)
    * @version (version 1)
    */
    public class Records
    {


    public static void main (String Args []){

    String Student_Name1;
    String Student_surname 1;
    String Student_ID1;
    String Student_group1;
    System.out.prin tln ("Enter name ");
    int name = Keyboard.readIn t();
    char grade;

    grade = '_';

    if ( name > Ryan,Robert,Vic tor,Jim,Sammy,L eo,Glen,Kyle || name < Kurt) System.out.prin tln ("name is not included");
    else

    if (name >= Ryan,Robert,Vic tor,Jim,Sammy,L eo,Glen,Kyle && name <= Kurt )
    grade = 'name included';



    System.out.prin tln ( "Enter student's name" );
    Student_Name1 = Keyboard.readSt ring();

    System.out.prin tln ( "Enter student's surname" );
    Student_surname 1 = Keyboard.readSt ring();

    System.out.prin tln( "Enter student's ID" );
    Student_ID1 = Keyboard.readSt ring();

    System.out.prin tln( "Enter student's group" );
    Student_group1 = Keyboard.readSt ring();

    System.out.prin tln ( Student_Name1 + Student_surname 1 + Student_ID1 + Student_group1 );

    System.out.prin tln ("End by entering -1");
    int counter = -1;


    }

    }
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Please find the relevant forum for your question under the "Forums" tab, above and repost there. The left hand (Languages) group is the one you want.

    Comment

    • max3
      New Member
      • Jul 2007
      • 13

      #3
      sorry for the trouble and thanks

      Comment

      Working...