This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Assignment 2 for CompSci 109 on Study.com | |
| * By: Alecia Vogel | |
| * Date: November 28, 2025 | |
| * JDK: Oracle OpenJDK 25.0.1 | |
| * ------------------------------ | |
| * Calculate the areas of various shapes | |
| */ | |
| import java.util.Scanner; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Assignment 1 for CompSci 109 on Study.com | |
| * By: Alecia Vogel | |
| * Date: November 28, 2025 | |
| * JDK: Oracle OpenJDK 25.0.1 | |
| * ------------------------------ | |
| * This program determines all perfect numbers (numbers that have divisors that add up to the number) | |
| * between 1-200 using nested loops. | |
| */ | |
| import java.util.ArrayList; |