Print Student Marksheet Program in Java Programming YASH PAL, 10 July 201928 May 2024 A simple java project to make a student mark sheet or print the result of the student: In this post, you will learn how to make a simple good java project or make a simple Marksheet using just java programming. Introduction to Java [Marksheet] project This is the simple print Result of [Marksheet] student project using just java programming language. and to fully understand this project you need to have at least some knowledge of Java programming language. this is a small Marksheet project which is very useful for the beginners who love to code in java programming. one can also use this project in their Java project. in this project, you will learn something new about java programming. we use classes, variables, arrays, for loops and if statements to create this project. and I recommended you to first create this project on your own conditions and with your own mind of codes with the help of points given below. if you stuck on any point of the code then you should seek into our course. you can also download this project from the download button given below at the post and also feel free to customize the code and recreate this project on your own conditions and use your own creative mind and also share this project’s link with me at the comment section give the bottom of the page. Share your own project using my email id: yashpalsinghdeora9829421554@gmail.com so, I can do create a post on your project and share it with the coders all over the world. The logic of the Project: Scan the full name of the student. Scan the father’s name of the student. Scan the roll number of the student not an integer in the string in which you can enter the combination of characters and integer values. ex: 17CT3434 Scan the midterm marks of all the six subjects and remember then the marks should not be greater than 15. Scan the marks of the final exam of all the six subjects and remember that the marks should not be greater than 60. and then print out the result of the student as same as shown in the image. Also, print the name of the college as shown in the image. Also, print the Grand total of all marks of all subjects. Also, print the result pass and fail as shown in the image. The logic of passing a student: if the total of marks1 and marks2 is greater then 40 for all the subjects then the student is the pass as shown in the image. The logic to fail a student: if the total of marks1 and marks2 is less then 40 for anyone of the subjects then the result of the student fails as shown in the image. also, print the * symbol at the total of the marks as shown in the image. Coding of Project: import java.util.Scanner; class Result { public static void main(String arg[]) { String name, fname,rollno; int i, Gtotal=0,count=0; String subject[] = { "Mathematics", "Human Value", "Physics","Computer Programming","Electrical & Electronics","Mechanical Engineering"}; String subcode[]= { "MA-102","HU-103","PY-101","CS-103","EE-101","ME-101"}; int midmarks[]= new int[6]; int semmarks[]= new int[6]; Scanner s = new Scanner(System.in); System.out.println("t Enter your Full Name: "); name = s.nextLine(); System.out.println("t Enter your Father Name:"); fname = s.nextLine(); System.out.println("t Enter your Roll Number:"); rollno = s.nextLine(); for(i=0;i<6;i++) { System.out.println("t Enter Midterm Marks for: "+subject[i]+":"); midmarks[i] = s.nextInt(); } System.out.println("ntttOK NOW"); for(i=0;i<6;i++) { System.out.println("t Enter Final Exam Marks for: "+subject[i]+":"); semmarks[i] = s.nextInt(); } System.out.println("\t\t\t\t\tYOUR RESULT\n"); System.out.println("\t\t College:t"+"College of Engineering and technology, Bikaner"); System.out.print("\n\t\t Name:" +name); System.out.println("\t\tFather Name: \t" +fname); System.out.println("\t\t Roll Number: \t" +rollno); System.out.println("\n\t\t "+"Subcode"+"\tmarks1"+"\tmarks2"+"\tTotal"); for(i=0;i<6;i++) { if(((midmarks[i])+(semmarks[i])) >=40) { System.out.println("tt "+subcode[i]+"tt "+midmarks[i]+"t"+semmarks[i]+"t"+((midmarks[i])+(semmarks[i]))); } else { System.out.println("tt "+subcode[i]+"tt "+midmarks[i]+"t"+semmarks[i]+"t"+((midmarks[i])+(semmarks[i]))+"*"); count++; } Gtotal = (Gtotal + ((midmarks[i])+(semmarks[i]))); } if(count >0) { System.out.println("ntt Grand Total:t"+Gtotal+"tResult: tFAIL"); } else { System.out.println("ntt Grand Total:t"+Gtotal+"tResult:tPASS"); } } } Computer Science Tutorials Java Tutorials Projects computer sciencejavaPrograms