Skip to content

London | 26-ITP-May | Yonatan Teklemariam | Sprint 2 | Coursework#1379

Open
Yonatanteklemariam wants to merge 12 commits into
CodeYourFuture:mainfrom
Yonatanteklemariam:coursework/Sprint-2-clean
Open

London | 26-ITP-May | Yonatan Teklemariam | Sprint 2 | Coursework#1379
Yonatanteklemariam wants to merge 12 commits into
CodeYourFuture:mainfrom
Yonatanteklemariam:coursework/Sprint-2-clean

Conversation

@Yonatanteklemariam

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

debugged the code and corrected the function along with the parameters

Questions

Renamed variable 'str' to 'result' to avoid redeclaration error.
Fixed variable declaration issue in convertToPercentage function and updated console log.
Commented out the incorrect code and added a note about the declaration error.
Corrected the function parameter and added comments explaining the error.
@Yonatanteklemariam Yonatanteklemariam added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jun 22, 2026
The multiply function now returns the product of a and b, fixing the undefined output issue.
Fixed the sum function to return the correct value of a + b.
Refactor getLastDigit function to accept a parameter and update comments for clarity.
Implement snakeCaseString function to convert strings to snake case and uppercase.
Implemented a function to convert pence to pounds format.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant