1.) You never have an ending bracket for the for loop.
2.) Where is endValue1 defined?
3.) Either have each variable defined on its own line if you're going to initialize them right away or
have...