maso217 maso217
  • 21-09-2020
  • Computers and Technology
contestada

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

Respuesta :

codiepienagoya codiepienagoya
  • 22-09-2020

Answer:

The following are the code to this question:

gradAge = 4 + matricAge; // add value 4 in matricAge and store it value in gradAge variable

Explanation:

In the given question it is already defined, that two integer variable, that is "matricAge and gradAge" is declared, that holds some value.

In the above code, we use both the above-declared variable and add value 4 in the "matricAge" variable and store its calculated value into the  "gradAge" variable    

Answer Link

Otras preguntas

The sum of seventy-six and a number is twice the number
The difference of thirty six and a number is seven
Write a claim to answer: How has the Earth changed over time?
- 7/3x +y to the 2nd power (if w=1 x=6 y=3) show work
Solve m+9=2 m=_ Which statement shows the correct justification for the step used to solve the equation? Add 2 to each side. Add 9 to each side. Subtract 2 fro
help please! this is algebra. It says it needs to be in a fractional exponent form ONLY!​
Evaluate the expression 1 + 3 i/5 i and write the result in the form a + b i .
Find the midpoint of the line segment.
Use this image to classify each pair of lines. Select Parallel, Perpendicular, or Cannot Be Determined to classify each pair of lines. Parallel
While John is traveling along a straight inter- state highway, he notices that the mile marker /reads 256 km. John travels until he reaches the 138 km marker an