Skip to content

Test

Amruta Hulagar requested to merge test into Amruta-patch1

Summary by Bito

This PR enhances the person management system implemented in sample.java by adding input validation and error handling for user-added persons, improving the reliability of data entry while maintaining the existing functionality for displaying persons and calculating average age.

Detailed Changes
  • Adds try-catch block and age validation (ensuring positive integers) in the user input section for adding new persons in sample.java
Edited by Amruta Hulagar

Merge request reports