Making simple marksheet in java
First we have need to open Notepad, Notepad++ or other type of typing pad and then we write on this
program on notepad, notepad++ after then compile this program on command windows.
Now we write down the code.
program on notepad, notepad++ after then compile this program on command windows.
Now we write down the code.
public class AssignmentMarksheet2nd{
public static void main (String [] args){
System.out.println("|---------------------------------------------------------------------------|");
System.out.println("| |");
System.out.println("| UNIVERSITY OF SINDH |");
System.out.println("| Book No Certificate |");
System.out.println("| JAMSHORO,SINDH,PAKISTAN |");
System.out.println("| Marks Certificate |");
System.out.println("| ----------------- |");
System.out.println("| 2373 NO 372858 |");
System.out.println("| |");
System.out.println("| INSTITUTE OF MATHEMAYICA & COMPUTER SCIENCE |");
System.out.println("| BS (COMPUTER SCIENCE) SECOND YEAR 2014 |");
System.out.println("| |");
System.out.println("| NAME: AZAM HAYAT BHUTTO ROLL NO: 2K12/ECSE/115|");
System.out.println("| FATHER'S NAME: IRSHAD AHMED EXAM. YEAR: 2014 |");
System.out.println("| SURNAME: BHUTTO |");
System.out.println("| THIRD SEMESTER |");
System.out.println("|---------------------------------------------------------------------------|");
System.out.println("||C.NO. SUBJECTS MX.MARKS. MN.MARKS. OB.MARKS. CR.MARKS. GRADE. Q.P||");
System.out.println("|---------------------------------------------------------------------------|");
System.out.println("||ENGL400 ENGLISH 100 40 40 3 D 3 ||");
System.out.println("||MATH400 L.A&A.G.OF 3D 100 40 41 3 D 3 ||");
System.out.println("||PSYC400 PSYCHO 100 40 65 3 B 9 ||");
System.out.println("||COMP310 DATA.S 100 40 53 3 C 6 ||");
System.out.println("||COMP311 OOP(JAVA) 100 40 50 3 C 6 ||");
System.out.println("||COMP312 OOP(JAVA)-(LAB) 100 40 40 1 D 1 ||");
System.out.println("||COMP313 D.M 100 40 53 3 C 6 ||");
System.out.println("||-------------------------------------------------------------------------||");
System.out.println("||MARKS OBTAINED: 342 G.P.A: 1.79 RESULT:PROMOTED ||");
System.out.println("||-------------------------------------------------------------------------||");
System.out.println("| FOURTH SEMESTER |");
System.out.println("| |");
System.out.println("|---------------------------------------------------------------------------|");
System.out.println("||C.NO. SUBJECTS MX.MARKS. MN.MARKS. OB.MARKS. CR.MARKS. GRADE. Q.P||");
System.out.println("|---------------------------------------------------------------------------|");
System.out.println("||BUAD401 H.R.M 100 40 60 3 B 9 ||");
System.out.println("||ENGL401 ENGLISH 100 40 62 3 B 9 ||");
System.out.println("||MATH401 A.C&I.T 100 40 52 3 C 6 ||");
System.out.println("||COMP414 C.O&A.L 100 40 53 3 C 6 ||");
System.out.println("||COMP315 C.O&A.L(LAB) 100 40 61 1 B 3 ||");
System.out.println("||COMP316 D.S 100 40 40 3 D 3 ||");
System.out.println("||COMP317 D.L & D 100 40 40 3 D 3 ||");
System.out.println("||-------------------------------------------------------------------------||");
System.out.println("||MARKS OBTAINED: 368 G.P.A: 2.05 RESULT:PASS ||");
System.out.println("||-------------------------------------------------------------------------||");
System.out.println("| STATUS ABOVE SEMESTERS |");
System.out.println("||-------------------------------------------------------------------------||");
System.out.println("||MARKS OBTAINED: 710/1400 C.G.P.A: 1.92 RESULT:PROMOTED ||");
System.out.println("||-------------------------------------------------------------------------||");
System.out.println("| |");
System.out.println("| |");
System.out.println("| |");
System.out.println("| |");
System.out.println("| |");
System.out.println("| |");
System.out.println("| |");
System.out.println("| |");
System.out.println("|MARKS SECURED: 1525/ 2800 C.G.P.A: 2.23/ 4.00 |");
System.out.println("|RESULT DECLARED: 02-APR-2015 PERCENTAGE: 54.46 |");
System.out.println("|RESULT:PASS |");
System.out.println("| |");
System.out.println("| |");
System.out.println("|The University reserves the right of issuing |");
System.out.println("|any correction in the result, if any mistake |");
System.out.println("|detected later. Controller of Examinations, |");
System.out.println("| 8 April 2015 University of Sindh, Jamshoro|");
System.out.println("|---------------------------------------------------------------------------|");
}
}
Now we save this file
AssignmentMarksheet2nd.java
Now we compile this program on command windows.
Open command window write down on command.
Compile
javac AssignmentMarksheet2nd.java
Run
java AssignmentMarksheet2nd
Out put Image:
Simple Marksheet Program in java |
0 Comments