A Java console application designed to evaluate daily performance across multiple habits.
This project demonstrates the use of methods, arrays, conditional logic, and switch-case structures to build a structured and interactive program.
The Daily Focus Evaluator allows the user to:
- Enter a list of habits to track
- Rate each habit from 0 to 10
- Receive contextual feedback for each score
- Calculate total and average performance
- Detect critically low scores
- Generate a final performance evaluation report
This project was developed to strengthen my understanding of modular programming and decision-making structures in Java.
- Methods for organizing program logic
- Arrays for storing habits and scores
- Switch-case statements for score-based feedback
- Conditional logic for performance evaluation
- Input handling with
Scanner - Loop-based data processing
- How to design a multi-step interactive console program
- How to combine arrays, loops, and conditionals effectively
- How to implement evaluation logic with both average and individual thresholds
- How to structure code for readability and maintainability
The project is organized into clear, single-purpose methods:
printHeader()– Displays the program headergetHabits()– Collects habit namesgetScores()– Collects scores and provides feedbackcalculateTotal()– Computes total scorecalculateAverage()– Computes average scoreevaluatePerformance()– Determines performance level based on average and low-score detectionprintReport()– Displays the final summary
- Add input validation for score ranges
- Add data persistence for daily logs
- Add weekly/monthly analytics
- Add color-coded console output
- Convert the program into a GUI or mobile app
Compile and run the program using any Java IDE or terminal: