Ask Question
10 February, 20:37

Given two variables matric_age and grad_age, write a statement that makes the associated value of grad_age 4 more than that of matric_age. Note: This question does not follow our naming convention for variables. matric_age and grad_age should have been named matricAge and gradAge.

+2
Answers (1)
  1. 10 February, 22:00
    0
    Following is the statement that is given below

    grad_age=matric_age+4 / / value of grad_age 4 more than that of matric_age.

    Explanation:

    Following are the description of the statement

    Here already mention in question that "matric_age" and the "grad_age" are the two variables of "int" types. The statement matric_age+4 adding the value 4 into the variable "matric_age". This statement-making the associated value of the "grad_age" variable 4 more than that of the "matric_age" variable. Finally, the variable "grad_age" is storing the result of the "matric_age+4"
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Given two variables matric_age and grad_age, write a statement that makes the associated value of grad_age 4 more than that of matric_age. ...” 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