-
-
Notifications
You must be signed in to change notification settings - Fork 301
ZA | ITP-May-2025 | Revive Munashe Mapfumo | Coursework/Sprint-1 #490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
||
| // 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(",","")) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are more.
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a function call
|
I've made adjustments according to your specifications. Thanks |
|
Good day to you. Anything i need to change on my files? |
|
Well done |
|
Thank you Waldo
…On Sat, 28 Jun 2025, 17:20 Waldo Strydom, ***@***.***> wrote:
*Waldo-Strydom* left a comment
(CodeYourFuture/Module-Structuring-and-Testing-Data#490)
<#490 (comment)>
Well done
—
Reply to this email directly, view it on GitHub
<#490 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BM7V7JLQYYLABHAP7MECQZL3F2XDLAVCNFSM6AAAAAB6Z7JZ2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTAMJVGQ3TCMBTGU>
.
You are receiving this because you authored the thread.Message ID:
<CodeYourFuture/Module-Structuring-and-Testing-Data/pull/490/c3015471035@
github.com>
|
Learners, PR Template
Self checklist
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.