answersLogoWhite

0


Best Answer

If "g" has a value then it would just be 5+(the value)

Otherwise it would be 5+g

G is a variable and therefor could be anything. You can not solve the equation further. The answer is simply 5+G.

If you have a previous declaration that states that G=2, then 5+G would equal 7.

In computer programming, equations like this are useful for repetitious calculations. For example, if G is the variable for a score in a game, we would start with G=0 and every time you get a point, the computer would calculate G=G+1. G, currently 0, plus 1, equals 1. If you get another point then G, currently 1, plus 1, equals 2. This can be repeated as needed without changing the equation.

User Avatar

Wiki User

βˆ™ 14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What does 5 plus g equal?
Write your answer...
Submit
Still have questions?
magnify glass
imp