Presubmission Report Income Tax Calculator in C Language

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 3

Introduction

````````````
An income tax calculator is a tool that helps individuals or businesses estimate
their tax liability based on their income and other financial information. In this
project, we will be developing an income tax calculator program using the C
programming language.

The purpose of this project is to provide a simple and user-friendly tool for
individuals and businesses to calculate their tax liability quickly and accurately.
The program will take into account the latest tax laws and regulations to ensure
that the calculations are up-to-date and accurate.

The objectives of this project are to:

Develop a user-friendly interface for individuals and businesses to input their


financial information.

Implement the necessary calculations based on the latest tax laws and regulations.

Provide an accurate estimation of tax liability for individuals and businesses.

Ensure that the program is easy to use and navigate, even for those without a
background in tax law.

Throughout the project, we will use various programming techniques and concepts
such as conditional statements, loops, functions, and data structures to implement
the necessary calculations and ensure that the program runs efficiently.

In the following sections, we will discuss the technical details of the project,
the progress we have made so far, the challenges we have faced, and our plans for
the remaining development time.

modules used in program


```````````````````````
When programming an income tax calculator in C, there are several modules and
libraries that you can use to simplify the development process. Here are some of
the commonly used modules in C for income tax calculator programming:

Input/Output (I/O) Module: This module allows the program to receive input from the
user, process it, and display the results back to the user. The standard
input/output functions in C include scanf(), printf(), and fprintf().

Math Module: This module contains a range of mathematical functions that are useful
for tax calculations, such as logarithms, exponents, and trigonometric functions.
The math library in C provides functions like pow(), log(), and sin().

String Module: This module provides functions for manipulating strings, such as
converting strings to integers or floating-point numbers, splitting strings, and
concatenating strings. The string library in C provides functions like atoi(),
atof(), and strcat().

Date/Time Module: This module provides functions for working with dates and times,
which are important in tax calculations. The time.h library in C provides functions
like time(), localtime(), and strftime().

Conditional Statements and Loops Module: This module provides functions like if-
else statements and loops (for, while, and do-while) that are necessary to
implement the various tax calculations and formulas.

Arrays and Structures Module: This module provides functions for working with
arrays and structures, which can be used to store and manipulate user data in the
program.

By using these modules, you can simplify the development process and ensure that
your program is efficient, accurate, and easy to use.

Technologies Used
`````````````````
When programming an income tax calculator, you can use a variety of technologies,
depending on your project requirements and programming skills. Here are some of the
technologies commonly used in income tax calculator programming:

Programming Language: The programming language used to develop an income tax


calculator can vary, but C is a popular choice due to its efficiency, low-level
programming capabilities, and built-in libraries for math and input/output
operations.

Integrated Development Environment (IDE): An IDE can make the development process
more efficient by providing features such as code highlighting, debugging, and code
completion. Some popular IDEs for C programming include Visual Studio Code,
Eclipse, and Code::Blocks.

Graphical User Interface (GUI) Libraries: GUI libraries such as GTK, Qt, and
WinForms can be used to create a user-friendly interface for the income tax
calculator. This can help users input data more easily and make the program more
accessible to those without programming experience.

Database Management System (DBMS): If your income tax calculator needs to store
user data or generate reports, you may need to use a DBMS. MySQL, PostgreSQL, and
SQLite are popular DBMSs that can be integrated with C programs.

Version Control System (VCS): VCSs such as Git can be used to manage source code
changes, collaborate with other developers, and maintain a history of revisions.

By using these technologies, you can create a well-structured, efficient, and user-
friendly income tax calculator that meets the needs of your users.

one level DFD


``````````````

| Income Tax Calculator|


+---------------------+
|
|
+------------------+
| Input Data |
+------------------+
|
|
+----------------+---------------+
| |
+------------------------+ +------------------------+
| Process Calculation | | Display Results |
+------------------------+ +------------------------+
| |
| |
+--------------+ +--------------+
| Tax Data | | Calculation |
| Calculation | | Results |
+--------------+ +--------------+

Two level DFD


`````````````

| Process Input Data |


+------------------------+
|
|
+-----------------------+
| Validate Input Data |
+-----------------------+
|
|
+-----------------------+
| Process Income Details |
+-----------------------+
|
|
+--------------------------+
| Calculate Deduction Data |
+--------------------------+

You might also like