/exercises-java

Writing miscellaneous programs in Java to develop familiarity with the language's syntax, features, conventions, and applications.

Primary LanguageJavaBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

exercises-java

Writing miscellaneous programs in Java to develop familiarity with the language's syntax, features, conventions, and applications.

Licensing

All code in this repository is licensed permissively under the BSD 3-Clause License unless otherwise stated.

For more information, please see the LICENSE file.

Java Development Environment Details

This software has been written and run under the following:

openjdk version "17.0.9" 2023-10-17 OpenJDK Runtime Environment (build 17.0.9+9-Debian-2) OpenJDK 64-Bit Server VM (build 17.0.9+9-Debian-2, mixed mode, sharing)


Program/Script Info & Sample Intended Output

CollectQuizScoreMain.java

Read user input from a console, in the form of quiz scores. Use this information to check that no quiz scores are above or below the allowable range of values. Handle raised errors/exceptions.

FizzBuzzMain.java

Count up, printing these numbers to console. Print "fizz" when the number is divisible by three and "buzz" when they are divisible by five. The program should display "fizzbuzz" when a number is divisible by both three and five.

SalaryTaxCalc.java

Collect user input from console for name, hours worked, and wage to calculate overtime pay + tax.