Projects Inventory

Simulation of Employee Performance Gaming Project in C++

Explanation

  1. Class Employee:
    • Purpose: Represents an employee and their performance evaluation.
    • Advertisement
    • Attributes:
      • name: Name of the employee.
      • performanceScores: Vector storing performance scores for various criteria.
    • Methods:
      • getName(): Returns the employee’s name.
      • getAverageScore(): Calculates and returns the average performance score based on the criteria scores.
      • Advertisement
  2. Main Function:
    • Setup: Initializes a list of employees.
    • Input:
      • Prompts the user for the number of employees and details for each employee, including their performance scores for different criteria.
    • Report Generation:
      • Outputs a performance report showing each employee’s name and their average performance score.

Usage

Exit mobile version