int numberOfStudents;
String name;
double x, y;
boolean isFinished;
char firstInitial, middleInitial, lastInitial;
public class BSIT
{
public static void main(String[] args)
{
int numberOfStudents = 123;
String name = "bOYSWILLCODE";
double x = 7.8 , y = 78.5;
boolean isFinished = true;
char firstInitial = 'B', middleInitial = 'W', lastInitial = 'C';
System.out.print("My Student Id is: " + numberOfStudents + " and ");
System.out.print(" My name is: " + name);
System.out.print(" My Height is: " + x + " and ");
System.out.print(" weight is: " + y);
System.out.print("Am I Really Finish? " + isFinished + " Your Initial is: ");
System.out.print(firstInitial);
System.out.print(middleInitial);
System.out.print(lastInitial);
}
}
No comments:
Post a Comment