Need sample code for java program of a school time table

Asked By 10 points N/A Posted on -
qa-featured

Hello experts,

 

I need a sample code for java program of a school time table because my project seems to be related to this kind of algorithm. I am looking forward for your help. Give me some links and downloadable sample codes.

Thank you.

SHARE
Answered By 0 points N/A #160031

Need sample code for java program of a school time table

qa-featured

Hello Jermaineporterr,

There is the code to solve your problem. This is sample code for java program of a school time table.

First you have to understand the following code.

Then you have to edit the following code as you needed.

Sample code:

publicclassTeacher

{

 

   publicstaticvoidmain(String [] args)

   {

 

     String Time,

            Name,

 

            Id;

     Scanner keyboard = newScanner(System.in);

 

 

     System.out.println(Please enter the Time classstarted?);

 

     Time = keyboard.next();

     System.out.println(Please Enter your name);

 

     Name = keyboard.next();

     System.out.println(Please enter your Id);

 

     Id = keyboard.next();

     System.out.println(Name,Id, Time);

 

   }

 

 

}

 

Hopefully this above code will solve your problem.

Thanks.

 

Login/Register to Answer

Related Questions