If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

It might be better to copy and paste exactly as your code is in your editor to see if you have made any other changes that will affect the line number error. Remember to use the CODE tags when posting.

I will be heading off to bed very soon, if you don't get a response tonight, I will tomorrow.

Thats great that you are learning, it is like a curve, the more you do it the more easier it gets and the quicker you can put code together and the amount of time it takes then become almost intuitive.

So how much have you done so far? Any more errors?

--> JavaScript Frameworks like JQuery, Angular, Node <--
... and please remember to wrap code with forum BBCode tags:- [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]If you can't think outside the box, you will be trapped forever with no escape...

reply

Originally Posted by \\.\

Thats great that you are learning, it is like a curve, the more you do it the more easier it gets and the quicker you can put code together and the amount of time it takes then become almost intuitive.

So how much have you done so far? Any more errors?

I or should I say we have it ti where it works and adds the percent for "A" but then after that it will not add the percent. All the code looks just alike so I can't figure out what the problem is.

what that does is ensures that the checks in the ()'s happens first, this is precedence and if you look it up for programming, you will see that it doesn't matter what language you use, Java, PHP, C, fortran, cobol, pascal or JavaScript, precedence will be the same.

--> JavaScript Frameworks like JQuery, Angular, Node <--
... and please remember to wrap code with forum BBCode tags:- [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]If you can't think outside the box, you will be trapped forever with no escape...