Git Product home page Git Product logo

javaprograms's Introduction

Java Programs

These are several Java programs that I completed for my Problem Solving and Programming Concepts course. Feel free to use them however you like.

Soccer Team Roster

The soccer team roster program allows users to add, replace, and modify Player class objects within the team. Additionally, it also features insertion sort to filter results by rank.

Initial player data is populated from the SoccerPlayers.txt file once the program starts.

Figure 1: The program uses Java Swing to display menu options as a way to interact with the data.

Figure 2: The roster shows all of the players stored within the program.

Employee System

This was an assignment that was designed to teach about object oriented programming. There are various different methods to interface with the Employee class.

Pizza Calculator

This program calculates the total cost of pizzas by prompting the user to input the number of small, medium, and large pizzas.

Example Output

Enter customer name: 
Tom
Enter number of small pizza(s) you want: 
3
Enter number of medium pizza(s) you want: 
5
Enter number of large pizza(s) you want: 
3
Customer name: Tom

3 Small Pizzas @ $8.95: $26.85
5 Medium Pizzas @ $12.50: $62.50
3 Large Pizzas @ $15.00: $45.00

Subtotal: $134.35
Tax: $12.09
Total Amount Due: $146.44

javaprograms's People

Contributors

dunnatello avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.