Skip to content

South Africa CPT-ITP 2 | Farai Muzanenhamo| Module-Structuring-and-Testing-Data | Coursework Sprint 3| #300

Closed
FaraiMuzah wants to merge 5 commits intoCodeYourFuture:mainfrom
FaraiMuzah:coursework/sprint-3
Closed

South Africa CPT-ITP 2 | Farai Muzanenhamo| Module-Structuring-and-Testing-Data | Coursework Sprint 3| #300
FaraiMuzah wants to merge 5 commits intoCodeYourFuture:mainfrom
FaraiMuzah:coursework/sprint-3

Conversation

@FaraiMuzah
Copy link

No description provided.

@FaraiMuzah FaraiMuzah added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 17, 2025
Copy link

@Waldo-Strydom Waldo-Strydom left a comment

Choose a reason for hiding this comment

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

Well done

// read to the end, complete line 36, then pass your test here
if (angle === 90) return "Right angle";
if (angle < 90) return "Acute angle";
if (angle > 90 && angle < 180) return "Obtuse angle";

Choose a reason for hiding this comment

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

It is standard practice to use else if or switch statements. Not many if statements.

@Waldo-Strydom Waldo-Strydom added Reviewed Volunteer to add when completing a review with trainee action still to take. Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed. Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants