Ask 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. Note: This question does not follow our naming convention for variables. matric_age and grad_age should have been named matricAge and gradAge.

+1
Answers (1)
  1. 4 December, 07:06
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers