Skip to content

yodanimal/EchoEarnings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salary Calculator Project

This project consists of a PowerShell script divided into modular components, each handling a specific part of the process. The goal is to calculate wages and taxes based on user input.

Files

  • Main.ps1: Orchestrates the workflow.
  • InputHandler.ps1: Manages user input and validation.
  • Calculator.ps1: Handles wage and tax calculations.
  • OutputHandler.ps1: Formats and displays the results.

Usage

Run Main.ps1 in a PowerShell environment. Follow the prompts to enter either an hourly wage or an annual salary. The script will calculate and display the results.

Overview

This project is a PowerShell-based Salary Calculator that allows users to calculate their annual and after-tax salaries based on either an hourly wage or an annual salary. The application offers a console interface and a graphical user interface (GUI) using Windows Presentation Foundation (WPF).

Prerequisites

  • Windows operating system
  • PowerShell 5.1 or later

Installation

  1. Clone or download the repository from GitHub.
  2. Extract the files to a directory of your choice if downloaded as a ZIP.

Running the Application

  1. Open PowerShell.
  2. Navigate to the directory where you extracted the files.
    cd path\to\extracted\files
    
    .\Main.ps1
    

Future Enhancements **

  • Error handling and logging.
  • Configurable parameters.
  • Add a selectable US State to determine State Tax numbers.
  • Add in other input fields to set budget amounts to make a realistic paycheck experience.
  • Add color to the app.
  • Add an output function to save the data as an html file.
  • Replace GUI with a Web application.
  • Live webapp.

Development

Developed as a learning project with a focus on modularity and script interaction.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

SalaryWageCalculator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published