Cape Town | 2026-ITP-Jan | Isaac Abodunrin | Sprint 1 | Coursework Exercises#932
Cape Town | 2026-ITP-Jan | Isaac Abodunrin | Sprint 1 | Coursework Exercises#932bytesandroses wants to merge 19 commits intoCodeYourFuture:mainfrom
Conversation
cjyuan
left a comment
There was a problem hiding this comment.
Code looks great. I just have a few questions.
Sprint-1/1-key-exercises/1-count.js
Outdated
|
|
||
| // Line 1 is a variable declaration, creating the count variable with an initial value of 0 | ||
| // Describe what line 3 is doing, in particular focus on what = is doing | ||
| // Answer: Line 3 reassigns the value of count by increasing it by 1. It therefore increases the value of count from 0 to 1 |
There was a problem hiding this comment.
Operation like count = count + 1 is very common in programming, and there is a programming term describing such operation.
Can you find out what one-word programming term describes the operation on line 3?
|
@cjyuan Thank you so much for the feedback CJ. I've gone ahead and implemented the suggestions made. Changes:
|
You should try responding directly in the inline comment. Doing so makes tracking conversation easier. Changes look good. Well done! |
Self checklist:
Changelist
Completed the following exercises: