Once we cot CODE tags in your post, you have some very nicely formatted code!
I don't see where your equation has been implemented. Can you figure out where it should go?
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
What's the purpose of the equation? What function is responsible for this feature? That's where it goes... Somewhere around 21 is correct.
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
I'm seeing a lot of the same code from supposedly different people.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
>I do not appreciate the last two comments
Don't worry. Others will appreciate them. :)
>and I have not seen any code similar to mine
Here's one: http://www.daniweb.com/forums/thread95911.html
>If I were cheating I would at least pick one that is done
I don't know, I've seen some pretty lame attempts to cheat over the years.
>If you cannot be helpful then why are you even replying?
I also can't be helpful because you really haven't asked a proper question yet. You've mentioned a formula, said you're having trouble finishing the program, and posted the code. This suggests you want the work done for you, which we won't do. Walt pushed you in the right direction as much as he could without giving you code for the solution, so where's your updated attempt?
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
>but I can se that i won't get any assistence here
If you keep failing to ask a smart question , that's probably an accurate observation.
>I will go back to winging it on my own like I was.
That's actually the best way to learn. Unlike you, I didn't have the internet. I didn't have ready access to all kinds of wonderful resources or experts willing to help. I like to think that the experimenting I had to do at the time is why I'm that much better than I would be if I were spoonfed everything like most of the beginners these days.
>And I suggest you find out situations before you accuse
I call it like I see it. If you don't like that, change how it looks.
>If you notice I have not asked another question since
>Walt had responded becauses I have not gotten to it yet
Okay, then I suggest you follow your own advice. If you can't be helpful (in helping us help you), why are you even replying?
>Instead I am wasting time at my job replying to this junk
It seems we have something in common then. :D
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
>You really are ridiculous
I'd recommend that you review the use of punctuation in written English. A dash isn't acceptable punctuation for correcting run-on sentences.
>I can see this is not a friendly forum and I will just take stuff out
>of the text like I was and get no explanation for what I am doing.
Okay. Bye bye. Oh wait, you were trying to martyr yourself, weren't you? Otherwise you would simply have left without making a big stink about how you've been slighted, we're all evil people, and you're going to run off to suffer, all alone with your book that doesn't teach anything.
Boo-hoo, cry me a river, play me a tune on the violin, then shut the hell up and go away already. You clearly aren't going to ask a smart question (look, I even linked you to it again), and it seems you're only interested in being a whiney baby. So shoo; go away and grow up a bit.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
Jeez! C'mon. Stop the mud slinging.
mandsmom, if you don't like an answer, say thanks and ignore it. Narue is one of the best programmers here, but she's also one of the most annoying if she thinks you're not listening or she believes you aren't trying. Sorry, you have to deal with it.
If you liked what I said, try it and move on.
As for the post of Narue's that pissed you off, she was right on all counts. We all have seen lame attempts at cheating. But if you didn't cheat, the statement doesn't apply to you. Ignore it. Etc.
So change your code and try it again. Post if it still doesn't work, and ignore everyone but me! :cool:
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944