Question: An assignment statement assigns the variable on the left - side of the = with the current value of the right - side expression. Ex:
An assignment statement assigns the variable on the leftside of the with the current value of the rightside expression. Ex: numPets numDogs numCats means numPets is assigned with numDogs's current value plus numCat's current value, and numPets keeps that value during subsequent statements, until numPets is assigned again.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
