An open API service indexing awesome lists of open source software.

https://github.com/redinfinitypro/javaclass_project8

The code in this repository is a Java program that prompts the user to input dimensions for a rectangle and calculate its area and perimeter. Additionally, the program allows the user to create a stock object, input stock details, and calculate the price change percentage.
https://github.com/redinfinitypro/javaclass_project8

scanner

Last synced: 6 months ago
JSON representation

The code in this repository is a Java program that prompts the user to input dimensions for a rectangle and calculate its area and perimeter. Additionally, the program allows the user to create a stock object, input stock details, and calculate the price change percentage.

Awesome Lists containing this project

README

          

# JavaClass Project8

## Table Of Contents
- Description
- Features
- Contributing
- Project Structure

## 📖 Description
Description: The code in this repository is a Java program that prompts the user to input dimensions for a rectangle and calculate its area and perimeter. Additionally, the program allows the user to create a stock object, input stock details, and calculate the price change percentage.

## 🚀 Features
1. Rectangle Calculations:
- Prompt the user to input width and height.
- Calculate and display the area of the rectangle.
- Calculate and display the perimeter of the rectangle.

2. Stock Information:
- Create a stock object with a symbol and stock name.
- Prompt the user to set the previous closing price and current price
- Calculate and display the percentage change in price.

## 🤝 Contributing
1. Fork the Repository:
- Click on the "Fork" button at the top right corner of the repository page to create your own fork of the repository.
2. Create a Pull Request:
- Navigate to the original repository and create a pull request to merge your changes into the main branch.

## 📂 Project Structure
- 📂 JavaClass Project8
- Chapter8.class
- Chapter8.java
- Chapter8$Rectangle.class
- Chapter8$Stock.class