





















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






















UTTARANCHAL UNIVERSITY Session 2023- 24
The most awaited moment of any endeavour is successful completion, but nothing can be done successfully if done alone. Success is the outcome of contribution and consistent help of various persons and we thank those ones who helped us in successful completion of this project. Primarily I would like to thank Prof (Dr.) Sonal Sharma, Dean-USCS for providing a healthy and encouraging environment to study. I profusely thankful to Dr. Sameer Dev Sharma, Head of Department-USCS for their valuable support and guidance to build the project. I am also thankful to Mr. Amarjeet Rawat, Program Coordinator- BCA Ist Year, Assistant Professor-USCS for providing all the required resources in the successful completion of my project report. I express my thanks to Mr. Praveen Shah, Project Mentor, Assistant Professor-USCS. He has been generous enough to provide me an opportunity and accepting my project for the most valuable guidance and affordable treatment given to us at every stage to boost my moral. Mohd Rayyan Roll No: 07 B.C.A 1st Semester Section - E (i)
This is to certify Mohd Rayyan student of BCA 1st Semester, of Uttaranchal School of Computing Sciences, Dehradun, has completed the Project Report for the topic “Customer billing system” for the session (2022- 2023). Under the guidance of: Mr. Praveen Shah Assistant Professor-USCS Uttaranchal University Dehradun
OBJECTIVE
SYSTEM ANALYSIS
SOFTWARE & HARDWARE USED
Turbo C
MODULES
This function displays the menu and returns the price of the selected item or 0.0 if the user chooses to exit.
This function prompts the user to enter their name and stores it in the provided character array.
This function calculates the total amount by repeatedly calling displayMenu to add items to the cart. It returns the final total.
This function takes the customer name and total amount as parameters and displays the final invoice.
SYSTEM DESIGN
The way that is followed by carrying on with the development of application is as followed
Defining a problem is one of the important activities of the project. The objective is to define precisely the business problem to be solved and there by determined the scope of the new system. The phase consists of two main tasks. The fast task within this activity is to review the organization needs to originally initiated the project. The second task is to identify, at an abstract or general level, the expected capability of the new system. Thus, it helps to define the goal to we achieved and the boundaries of your system. A clear understanding of the problem will help us in building a better system and reduce the risk of project failure. It also specifies the resource that have to be made available to the project. Three important factor project goal, project bounce and the resource limits are sometimes called the projects in term of reference.
FLOW CHART
printf("5. chocolate - $15.0\n"); printf("6. Bread - $25.0\n"); printf("7. cake - $50.0\n"); printf("8. Exit\n"); int choice; printf("Enter your choice (1-8): "); scanf("%d", &choice); switch (choice) { case 1: return 10.0; case 2:
return 20.0; case 3: return 15.0; case 4: return 10.0; case 5: return 15.0; case 6: return 25.0; case 7: return 50.0;
float totalAmount = 0.0; float itemPrice; // Get customer details printf("Enter customer name: "); scanf("%s", customerName); printf("Enter customer phone number: "); scanf("%s", phonenumber); printf("Enter customer gender: "); scanf("%s", gender);
// Display menu and add items to cart do { itemPrice = displayMenu(); if (itemPrice > 0) { printf("Enter quantity: "); scanf("%d", &quantity); totalAmount += itemPrice * quantity; } } while (itemPrice != 0.0);