-
-
Notifications
You must be signed in to change notification settings - Fork 275
London | 25-ITP-Sept | Samuel Tarawally | Sprint 1 | Coursework #819
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
base: main
Are you sure you want to change the base?
Conversation
Describe how the assignment operator evaluates the right-hand side expression before assigning the result to the count variable
Concatenate first characters of firstName, middleName, and lastName to create initials string dynamically
cjyuan
left a comment
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.
Explanations are clear! Nicely done!
|
|
||
| // Line 3 reassigns the count variable by evaluating the expression on the right hand side of the assignment. | ||
| // The right hand side (count + 1) is evaluated first, then the = operator assigns that value to count. |
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.
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?
Learners, PR Template
Self checklist
Changelist