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.
- Host: GitHub
- URL: https://github.com/redinfinitypro/javaclass_project8
- Owner: RedInfinityPro
- Created: 2024-03-16T23:19:26.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-13T14:59:00.000Z (about 1 year ago)
- Last Synced: 2025-02-13T15:39:25.444Z (about 1 year ago)
- Topics: scanner
- Language: Java
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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