The problem lines are these :
if (car1.price>Owned.Balance) {
Owned.Balance + car1.price;
The token in question is
Owned
. It is a class. Where it is used requires an instance of a type and
Owned
is a type.
The second line is also an improper expression. What is done with the result of the statement? You might want to use the
+=
operator there instead.