How who I have my printf statement to have the numbers come out like this
10
50
250
650
1250
Thanks!!
This is what I have
printf("%d\n", k);
10
50
250
650
1250
How who I have my printf statement to have the numbers come out like this
10
50
250
650
1250
Thanks!!
This is what I have
printf("%d\n", k);
10
50
250
650
1250
I didn't show up right on the first one it should be to the left!!!
You can edit your own posts, stop starting new threads for the same thing and replying to yourself, please.
My best code is written with the delete key.
sorry...I'm new to this board...relax
>I'm new to this board...relax
Okay, so that only proves that you didn't bother reading the "Read this first!" sticky and the easy to spot announcements that ask you to read them before posting.
My best code is written with the delete key.
FAQ > How do I... (Level 1) > Format output using printf() (C)
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*
Well not everyone on this board are computer nerds...stop cutting people down....
Do you do that to feel better about your self??
>Do you do that to feel better about your self??
No, we do it to keep the boards topical and free of clutter so that it's easier to ask a question and get an answer quickly. While you might enjoy stroking your ego and thinking that we have something against you personally, we really couldn't care less since you're likely to get your answer and then vanish into oblivion, never to be seen or heard from again. And you'll be quickly forgotten.
Rest assured, we see plenty of people like you who show up, make one or two posts, then take offense at some remark and start mouthing off at people who have been here for years and proven to be immensely helpful to others. So let's just skip that part and you can try to be nicer to people volunteering their free time to help you (a typical inconsiderate and lippy noob), before quzah sees you.
My best code is written with the delete key.
Hehe, I didn't know you had to be a computer nerd to read and click a button that says "Edit".
Also, consider that you are on a programming message board. It should be understood that a person attempting to program can atleast make their way around a webpage or forum with little trouble.
Sent from my iPadŽ