0% found this document useful (0 votes)
42 views8 pages

Banking Operations Program in C

Uploaded by

lihofe4607
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)
42 views8 pages

Banking Operations Program in C

Uploaded by

lihofe4607
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

ANNEXURE-II

PART B :Micro-Project Report


Development of a Banking Operations Program
1.0. Brief Description

The micro-project titled "Development of a Banking Operations Program" holds


significant importance in the context of the MSBTE subject "Data Structures using 'C'". It is
crucial for students to grasp the practical implementation of data structures and algorithms,
and this project serves as an exemplary tool. This project involves creating a program in C that
simulates fundamental banking operations, such as account creation, deposits, withdrawals,
and balance inquiries. This simulation is vital for students to comprehend how data structures
and algorithms play a crucial role in managing financial transactions effectively.

2.0. Aim of the Micro-Project

The primary aim of this micro-project is to develop a C program that exemplifies how data
structures and algorithms are applied to real-world scenarios, specifically in the context of
banking operations. The project intends to provide students with practical exposure to:

 Data structures like structures and arrays for representing bank accounts.
 Algorithms for transaction processing and account management.
 User interaction and input handling.
3.0. Course Outcomes Integrated

This micro-project aligns with several course outcomes in the "Data Structures using 'C'"
subject:

1. Understanding of Data Structures: Students gain a practical understanding of data structures


by implementing account management using structures.

2. Algorithmic Skills: The project necessitates the development of algorithms for deposit,
withdrawal, and balance checking, enhancing students' algorithmic skills.
3. Application of Data Structures: This project directly applies data structures like arrays and
structures to represent bank accounts, demonstrating their real-world utility.

4. Problem-Solving Abilities: Students develop problem-solving abilities by addressing practical


challenges related to financial transactions.

4.0 Actual Procedure Followed

The micro-project was executed in a systematic manner, with the following steps:

4.1 Team Formation

- The team consisted of two members, [Member 1] and [Member 2], who collaborated
to develop the banking program.

4.2 Requirement Analysis

 The team analyzed the project requirements, determining the necessary data
structures (e.g., structures and arrays) and algorithms (e.g., deposit and
withdrawal procedures).

4.3 Software Development

 [Member 1] focused on implementing data structures, creating and initializing


bank accounts, and developing deposit and withdrawal functions.
 [Member 2] handled user input, menu design, and balance-checking functions.
 The team collaborated to integrate their code and ensure a working program.

4.4 Testing

 Extensive testing was performed to identify and rectify any program bugs or
issues.
 Functional testing ensured that all banking operations worked correctly.
4.5 Documentation

 The team prepared a user manual explaining how to use the program.

4.6 Presentation

 The team created a presentation to outline the project's objectives,


development process, and key findings.

4.7 Optional Data Analysis

 The team had the option to extend the project by adding features for data
analysis, such as transaction history tracking.
5.0 Actual Resources Used

S. No. Name of Specifications Qty Remarks


Resource/material
• Software Turbo C++ 1 -
• RAM 16 GB 1 -
• Hard Disk 1 TB 1 -
• Processor AMD Ryzen 7 6000 Siries 1 -
• Operating System Windows 11 1 -

6.0. Outputs of the Micro-Project

The outputs of the micro-project include:

 Banking Program: The developed C program that allows users to create


accounts, perform deposits and withdrawals, and check balances.
 Documentation: A user manual describing how to use the program.
 Presentation: A presentation detailing the project's objectives, development
process, and key findings (if applicable).
 Optional: Data analysis outputs such as transaction logs, account summaries, or
user reports.

Code In C:

#include <stdio.h>

#include <stdlib.h>

#include <string.h>

// Structure to represent a bank account

struct BankAccount {

char account_number[15];

char account_holder[100];

float balance;

};

// Function to deposit funds

void deposit(struct BankAccount *account, float amount) {

if (amount > 0) {

account->balance += amount;

printf("Deposited $%.2f. New balance: $%.2f\n", amount, account->balance);

} else {

printf("Invalid amount for deposit.\n");


// Function to withdraw funds

void withdraw(struct BankAccount *account, float amount) {

if (amount > 0 && amount <= account->balance) {

account->balance -= amount;

printf("Withdrew $%.2f. New balance: $%.2f\n", amount, account->balance);

} else {

printf("Insufficient funds or invalid withdrawal amount.\n");

// Function to check balance

void check_balance(struct BankAccount *account)

{ printf("Account Holder: %s\n", account->account_holder);

printf("Account Number: %s\n", account->account_number);

printf("Current Balance: $%.2f\n", account->balance);

int main() {

// Create a new account for DUS subject

struct BankAccount subjectAccount;

strcpy(subjectAccount.account_number, "DUS123456");

strcpy(subjectAccount.account_holder, "Mr. Siddhesh More.");

subjectAccount.balance = 1000.0; // Initial balance


int choice;

float amount;

while (1) {

printf("\nDUS Subject Banking Menu:\n");

printf("1. Deposit\n");

printf("2. Withdraw\n");

printf("3. Check Balance\n");

printf("4. Exit\n");

printf("Enter your choice (1/2/3/4): ");

scanf("%d", &choice);

switch (choice) {

case 1:

printf("Enter the deposit amount: ₹");

scanf("%f", &amount);

deposit(&subjectAccount, amount);

break;

case 2:

printf("Enter the withdrawal amount: $");

scanf("%f", &amount);

withdraw(&subjectAccount, amount);

break;
case 3:

check_balance(&subjectAccount);

break;

case 4:

printf("Thank you for using the DUS subject banking system. Goodbye!\n");

exit(0);

default:

printf("Invalid choice. Please select a valid option.\n");

return 0;

Output Screen :
7.0. Skill Developed / Learning Out of this Micro-Project

Through the execution of this micro-project, several essential skills and learnings were
acquired:

 Data Structures and Algorithms: The project reinforced the understanding of data
structures and algorithms in a practical context.
 Problem-Solving: Students developed problem-solving skills by addressing real-world
challenges in banking operations.
 Coding Proficiency: Improved C programming skills were essential for implementing
data structures and algorithms.
 User Interaction: Skills in designing user interfaces and handling user input were honed.
 Documentation and Presentation: Students developed skills in documenting project
work and effectively presenting results.

In conclusion, the "Development of a Banking Operations Program" micro-project served as a


valuable learning experience in the "Data Structures using 'C'" subject, addressing various
course outcomes. It provided students with practical exposure to data structures, algorithms,
and problem-solving skills in a real-world context, which is invaluable for their academic and
professional growth.

 Name of Term Member with Roll Number .

Name of term Member Roll Number


1. Shubham Chaudhari . 69

2. Shreyash Sonavane 70
3. sanika gangurde 68

*********************

You might also like