Ask Question
30 August, 21:46

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.

+4
Answers (1)
  1. 30 August, 22:51
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers