answersLogoWhite

0

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

Still curious? Ask our experts.

Chat with our AI personalities

RossRoss
Every question is just a happy little opportunity.
Chat with Ross
LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake

Add your answer:

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