0% found this document useful (0 votes)
14 views10 pages

Comp Assignment PDF

Comp for stsir shdjrndhr dhid r. Rudmenbe hejen eudhe e
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views10 pages

Comp Assignment PDF

Comp for stsir shdjrndhr dhid r. Rudmenbe hejen eudhe e
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Acknowledgement

I would like to express my sincere gratitude to everyone who

has contributed to the completion of this project:

School Fees System

First and foremost, I want to thank my teacher, Gaurav dixit sir, for
their continuous guidance, encouragement, and expertise.

I want to thank my school principal [Link] Kurian for giving me this


golden opportunity to working on this project.

I would also like to extend my gratitude to my classmates who have


been actively involved in this project.

Lastly, I am deeply grateful for the collective efforts and support of


everyone involved in this school project. Thank you all for your
valuable contributions and for making this project a fulfilling and
enriching experience.
THE CODE

import [Link];

import [Link].*;

// A BASIC SCHOOL FEE COLLECTOR PROGRAM AS A


PROJECT TO BE REPRESENTED TO SIR GAURAV DIXIT

class Student

private String name;

private String rollNo;

private double feesPaid;

private double totalFees;

public Student(String name, String rollNo, double totalFees)

{
[Link] = name;

[Link] = rollNo;

[Link] = 0;

[Link] = totalFees;

public void payFees(double amount)

feesPaid += amount;

public double getRemainingFees()

return totalFees - feesPaid;

public void printReceipt()

[Link]("\nReceipt for: " + name);

[Link]("Roll No.: " + rollNo);

[Link]("Total Fees: " + totalFees);


[Link]("Fees Paid: " + feesPaid);

[Link]("Remaining Fees: " + getRemainingFees());

[Link]("Created by Anugrah, Raghav, Siddhant,


Sanyam and Kashif of X B");

public class SchoolFeesSystem2

public static void main(String[] args)

Scanner scanner = new Scanner([Link]);

// Input student details

[Link]("Enter student details:");

[Link]("Name: ");

String name = [Link]();

[Link]("Roll No.: ");

String rollNo = [Link]();


[Link]("Total Fees: ");

double totalFees = [Link]();

[Link]();

// Consume newline

// Create a student object

Student student = new Student(name, rollNo, totalFees);

// Pay fees

[Link]("Enter the fees amount to pay: ");

double feesAmount = [Link]();

[Link]();

// Consume newline

if (feesAmount <= [Link]())

[Link](feesAmount);

[Link]("Payment successful!");

}
else

[Link]("Payment unsuccessful! Fees amount


exceeds remaining fees.");

// Print receipt

[Link]();

[Link]();

/*Program created by:

[Link] Jadwani

[Link] Patel

[Link] Massey

[Link] Sharma

[Link] Khan
*/
CONCLUSION
The School Fees System project in Java successfully manages and generates
receipts for student fees, focusing on recording student names, fees amounts,
and receipt generation. Key achievements include:

1. Efficiency: Automated receipt generation reduces manual effort.

2. Accuracy: Ensures precise fee recording and receipt details.

3. User-Friendly: Simple interface for easy data entry and receipt access .

This project demonstrates Java's capability to create focused,


efficient solutions for educational administration. It provides a
solid foundation for potential future enhancements, such as
integrating payment processing and expanded financial
reporting feature

You might also like