473,394 Members | 2,160 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Urgently need help for a school progect

13
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_surname1;
String Student_ID1;
String Student_group1;
System.out.println ("Enter name ");
int name = Keyboard.readInt();
char grade;

grade = '_';

if ( name > Ryan,Robert,Victor,Jim,Sammy,Leo,Glen,Kyle || name < Kurt) System.out.println ("name is not included");
else

if (name >= Ryan,Robert,Victor,Jim,Sammy,Leo,Glen,Kyle && name <= Kurt )
grade = 'name included';



System.out.println ( "Enter student's name" );
Student_Name1 = Keyboard.readString();

System.out.println ( "Enter student's surname" );
Student_surname1 = Keyboard.readString();

System.out.println( "Enter student's ID" );
Student_ID1 = Keyboard.readString();

System.out.println( "Enter student's group" );
Student_group1 = Keyboard.readString();

System.out.println ( Student_Name1 + Student_surname1 + Student_ID1 + Student_group1 );

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


}

}
Jul 15 '07 #1
2 1023
bartonc
6,596 Expert 4TB
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.
Jul 16 '07 #2
max3
13
sorry for the trouble and thanks
Jul 16 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Dhiraj | last post by:
hello, everybody, this is Dhiraj here. I need help urgently, as i am getting error on my web page. The error is "Microsoft JET Database Engine error '80004005'" whenever i want to open links of...
5
by: el prinCipante | last post by:
I'm getting tired of the following error message. Compiler Error message : Error: Need explicit cast to convert from: float to: float * I am trying to use a routine from the Numerical Recipes...
4
by: Flamingo | last post by:
Hi folks, I want a webpage, there would be a input textfield, and a "sumbit" button there, if you press the submit button, the contents you input to the textfield would be send to your...
5
by: Lockwood | last post by:
someone check out this program and tell me what im doing wrong please...every time i fix some errors i get even more than before (right now theres 10). note that im a beginner/noob, and that this...
4
by: Joonshik Kim | last post by:
I was trying to define 3d array with pointer to pointer. I wrote like following. int ***d; nx = 3; ny = 5; nz = 4; d = (int ***)malloc((int) nx*sizeof(int **)); *d = (int **)malloc((int)...
0
by: Mary | last post by:
First of all, I want to thank all of you who post out here regularly. I have learned so much over the last couple of years! During my 10 years as a Cobol programmer, working with dozens of other...
15
by: max3 | last post by:
Hi to all I'am trying to run this program for my school progect but I keep receiving the same answer when I compile ')' expected. on the highlighted line can anyone help me thanks to all. /**...
0
by: efix | last post by:
hey there i need help urgently.. neone hu cud help me?? U c i m tryin t figure out how to program a vb .exe to login into a internet account inreal time. i m playin an online game....
1
by: muld | last post by:
I've inherited a database system designed to calculate sickness absence statistics. There is a main table with an employee ID which also holds the number of days worked by that person in a year ....
2
by: rkarthik | last post by:
Hello vectors, I am a beginner in vb.net programming and a student. As my final year project I wish to develop a compression tool.Is there any way to impleiment Huffman's compression algorithm in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.