Question: Given two integer variables matricAge and gradAge, write a statement that gives gradAge a value that is 4 more than the value of matricAge. Note:

Given two integer variables matricAge and gradAge, write a statement that gives gradAge a value that is 4 more than the value of matricAge.

Note: the answer is not gradAge= 4 + matricAge; It says a compile error of an unexpected identifier. This is for C++

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!