Ask Question
22 May, 23:48

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

+1
Answers (1)
  1. 23 May, 02:23
    0
    gradAge=matricAge+4; //Statement to give gradAge a value 4 more than matricAge.

    Explanation:

    This statement assigns the value stored in the matricAge variable with 4 added to it. So the value assigned to the gradAge is 4 more than value of matricAge. We have used assignment operator (=) to do this. Assignment operator assigns the value/variable's value written in the right to the variable to the left.
Know the Answer?
Not Sure About the Answer?
Get an answer to your 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. ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers