Skip to content

Feat (Enrollment.ts): new attribute avarage on the class Enrollment#1

Closed
gatilhoroxo wants to merge 1 commit into
pauloborba:mainfrom
mauricioAndrey:main
Closed

Feat (Enrollment.ts): new attribute avarage on the class Enrollment#1
gatilhoroxo wants to merge 1 commit into
pauloborba:mainfrom
mauricioAndrey:main

Conversation

@gatilhoroxo
Copy link
Copy Markdown

Foi adicionado um atributo Average (média) do tipo GLfloat na classe Enrollment (matrícula) e um método getAverage() para acessar o valor desse atributo.

private average: GLfloat;

constructor(student: Student, evaluations: Evaluation[] = []) {
constructor(student: Student, evaluations: Evaluation[] = [], average: GLfloat = 0) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mudar de GLfloat para float

@PauloV1 PauloV1 mentioned this pull request Dec 15, 2025
47 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants