Skip to content
/ UE03 Public

Java programs for the third exercise unit (UE03) in "Software Development 1". Focus: control structures including conditionals and loops.

License

Notifications You must be signed in to change notification settings

Paroryx/UE03

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Software Development Exercises - UE03

📜 Tasks

This exercise focuses on mastering control structures in Java, including if-else, switch, while, and for loops. The tasks include:

1. Tax Calculation

Calculate income tax based on a progressive tax system using nested if-else statements.

  • Program: TaxCalculator.java

2. Egg Marking

Analyze and interpret egg marking codes from Javaland using switch statements.

  • Program: EggMarking.java

3. Digit Sum

Compute the sum of digits for a sequence of integers using a while loop. The program outputs the digit sum for each number and the total sum of all digit sums.

  • Program: DigitSum.java

4. Triangle Drawing

Draw a triangle of a given number of rows using nested for loops.

  • Program: PaintTriangle.java

📂 Project Structure

src/

  • In.java Helper class for input
  • Out.java Helper class for output
  • TaxCalculator.java Tax calculation task
  • EggMarking.java Egg marking task
  • DigitSum.java Digit sum task
  • PaintTriangle.java Triangle drawing task

tests/

  • Testprotokolle.txt Test cases and results for all tasks

🛠 Tools

  • Programming Language: Java
  • Editor: Visual Studio Code with JavaWiz extension

📝 License

This project is licensed under the MIT License.

About

Java programs for the third exercise unit (UE03) in "Software Development 1". Focus: control structures including conditionals and loops.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages