Академический Документы
Профессиональный Документы
Культура Документы
Society’s
BACHELOR OF COMPUTER APPLICATION
P C Jabin Science College Campus, HUBBALLI
Autonomous, CPE Phase III
NAAC Re-Accredited at A Level with 3.37 CGPA
2019 - 2020
JAVA
Report On
PROJECT TITLE
BUS RESERVATION SYSTEM DISPLAY SEATS FOR
TWO OR MORE BUS
Submitted By
Akshata.Tambragundi
Reg No : 217052
K.L.E.Society’s
BACHELOR OF COMPUTER APPLICATION
P C Jabin Science College Campus, HUBBALLI
Autonomous, CPE Phase III
NAAC Re-Accredited at A Level with 3.37 CGPA
K.L.E.Society’s
BACHELOR OF COMPUTER APPLICATION
P C Jabin Science College Campus, HUBBALLI
Autonomous, CPE Phase III
NAAC Re-Accredited at A Level with 3.37 CGPA
CERTIFICATE
titled ________________________________________________________
prescribed by the P.C.Jabin Science College, Hubballi for the BCA ___ semester in
__________________ ______________
Staff in-charge Principal
Examiners
1.
2.
CONTENTS
Literature Survey:
System Requirement:
Hardware Requirement
Software Requirement
Software Code
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Scanner;
import java.io.*;
import fileop.Dup_linedel;
class br
{
Project Title
}
public void plan()throws IOException
{
String bus="";
Scanner sc=new Scanner(System.in);
Date objDate = new Date();
Dup_linedel dl=new Dup_linedel();
System.out.println("--------------------------------------------------------------");
System.out.println();
System.out.println(" WELCOME TO RED BUS\n");
System.out.println();
System.out.println("--------------------------------******---------------------");
System.out.println();
System.out.print(" ENTER YOUR NAME :");
String CustomerName = sc.nextLine();
System.out.println();
System.out.println("--------------------------------******-----------------------");
System.out.println();
System.out.print(" ENTER YOUR MOBILE NUMBER :");
String CustomerNumber = sc.nextLine();
System.out.println();
System.out.println("--------------------------------******-----------------------");
while(true)
{
System.out.print(" ENTER BUS NUMBER : ");
bus=sc.nextLine();
System.out.println();
if(Integer.parseInt(bus)>4)
{
System.out.println(" ENTER NUMBER BETWEEN 1-4");
System.out.println();
continue;
}
break;
}
if(dl.isduplicate(bus,"main.txt",1))
{
String tline=dl.linedel("E:/52/fileop/","main.txt",bus,1);
Scanner data=new Scanner(tline);
data.next();
for(int i=0;i<40;i++)
{
seats[i]=data.next();
}
}
else
{
for(int i=0;i<40;i++)
seats[i]=(i+1)+"";
}
System.out.print("--------------------------------------------------------\n");
System.out.println();
System.out.println(" BUS SEATING PLAN\n");
System.out.println();
int x,y,m=0,n=0;
System.out.println("-----------------------------------------------------------------\n");
System.out.print("_____________________________________________");
for(int i=0;i<40;i++)
{
if(i%5==0)
for (x = 1; x<= n; x++)
{
for (y = 1; y <= m; y++)
{
if (x == 1 || x == n || y == 1 || y == m)
System.out.print("|");
else
System.out.print("|");
}
System.out.println();
}
if(i%5==0)
System.out.println("\n");
System.out.print("\t"+"|"+seats[i]+"|\t");
System.out.print("|");
System.out.println("\n__________________________________________\n"
);
System.out.println("\n====================================\n");
System.out.println("\n====================================\n");
System.out.println();
System.out.println("\n=======***** THANYOU *******========\n");
System.out.println();
System.out.println("\n====================================\n");
System.out.println();
System.out.println("\n======*****HAPPYJOURNEY******======\n");
System.out.println();
System.out.println("\n===================================\n");
}
System.out.println("
=================================================================”);
Scanner sc=new Scanner(System.in);
br mi=new br();
String yn;
do
{
mi.plan();
System.out.print(" WOULD YOU LIKE TO MAKE NEXT BOOKING?");
yn=sc.nextLine();
}while(yn.equals("y")||yn.equals("Y"));
}
}
Results
Conclusion
An important research problem is the selection of a relevant subset of test loss the
thoroughness of regression testing An important research problem is the selection of a
relevant subset of test cases from the initial test suite that would minimize both the
regression testing time and effort without loss the thoroughness of regression testing
Bibliography
[1] G. Eason, B. Noble, and I.N. Sneddon, “On certain integrals of Lipschitz-
Hankel type l functions,” Phil. Trans. Roy. Soc. London, vol. A247, pp. 529-
551, April 1955. (references)
[2] J. Clerk Maxwell, A Treatise on, 3rd ed., vol. 2. Oxford: Clarendon, 1892,
pp.68-73.
[3] I.S. Jacobs and C.P. Bean, “Fine, vol. III, G.T. Rado and H. Suhl, Eds. New
York: Academic, 1963, pp. 271-350.
[4] K. Elissa, “Title of paper if known,” unpublished.
[5] R. Nicole, “Title ofalized,” J. Name Stand. Abbrev., in press.