Skip to content

Conversation

@rivakutu
Copy link

@rivakutu rivakutu commented Jun 7, 2025

Learners, PR Template

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with REGION | COHORT_NAME | FIRST_NAME LAST_NAME | PROJ_NAME
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

Refined logic and documentation for penceToPoundsConverter to clarify conversion details.

Improved increment operations by adding explanations and adjustments to variable handling.

Defined and structured variables such as dir and ext for better readability.

Enhanced console output by logging calculated initials and generated random numbers.

Fixed syntax and variable reassignment issues, including hoisting-related bugs.

Resolved slicing errors in cardNumber to prevent TypeError.

Updated comments and documentation to clarify variable declarations, functions, and built-in method effects.

Addressed naming inconsistencies and scope adjustments for better maintainability.

Questions

Ask any questions you have for your reviewer.

@rivakutu rivakutu added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jun 7, 2025
@rivakutu rivakutu changed the title Capetown | May-2025 | Revive Munashe Mapfumo | Coursework/Sprint-1 ZA | May-2025 | Revive Munashe Mapfumo | Coursework/Sprint-1 Jun 21, 2025
@rivakutu rivakutu changed the title ZA | May-2025 | Revive Munashe Mapfumo | Coursework/Sprint-1 ZA | ITP-May-2025 | Revive Munashe Mapfumo | Coursework/Sprint-1 Jun 22, 2025

// a) How many function calls are there in this file? Write down all the lines where a function call is made
// line 4 has a function call Number(carPrice.replaceAll(",", ""))
//line 5 has a function call Number(priceAfterOneYear.replaceAll(",",""))

Choose a reason for hiding this comment

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

You are missing a function call.

Copy link
Author

Choose a reason for hiding this comment

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

added another function call

// For the piece of code above, read the code and then answer the following questions

// a) How many variable declarations are there in this program?
// there are 4 variable declarations in this program

Choose a reason for hiding this comment

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

There are more.

Copy link
Author

Choose a reason for hiding this comment

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

added more variable declarations

// there are 4 variable declarations in this program

// b) How many function calls are there?
// there 0 function calls in this program

Choose a reason for hiding this comment

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

There are built in fun calls.

Copy link
Author

Choose a reason for hiding this comment

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

added a function call

@Waldo-Strydom Waldo-Strydom added 👀 Review Requirements Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jun 24, 2025
@rivakutu
Copy link
Author

I've made adjustments according to your specifications. Thanks

@rivakutu
Copy link
Author

rivakutu commented Jun 25, 2025

Good day to you. Anything i need to change on my files?

@Waldo-Strydom
Copy link

Well done

@Waldo-Strydom Waldo-Strydom added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed 👀 Review Requirements labels Jun 28, 2025
@rivakutu
Copy link
Author

rivakutu commented Jun 28, 2025 via email

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