Yeah! that is true. But tied for gold doesn't count. What counts is what you get.
And what matters is what counts.
Type: Posts; User: Abhilash
Yeah! that is true. But tied for gold doesn't count. What counts is what you get.
And what matters is what counts.
The very same method which solves all problems. A method taught to students at high school while programming which helps solving many problems which would require extensive logic just by the use of...
Thank You!
Actually it is unfortunate because I lost by a very close margin (actually it was draw for gold on which the judges performed some other evaluation and the decision went against me)....
Remember the state level competition I said about in my story(I said I would update about it).
Well unfortunately out of 26 schools, I got silver.
After one and a......... sorry 2 months, I finally got the answer.
Thank you.
Welcome to this forum.
Welcome to the forum. And yes, you will find this forum very useful and find some great lot of expertise here. Probably you may be able to share with us your expertise and your experience too by...
And It helps us to learn.
Welcome to the forum. Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.
As to answer your question, obviously you can. Let me give...
Its Thanks, not tanks.
Well, good for you then.
Yes, you can do that to.
I don't understand, but you have already coded the program, although wrong.
Still, let me explain how to do this and I will make necessary corrections too. You have first filled kids array with 1....
Welcome. I'm from India too.
If you have any problem regarding your programs, please post your problems at What's Wrong With My Code? Once again, welcome.
Thank You. Enjoy.
If you have any problem regarding your programs, please post your problems at What's Wrong With My Code? Welcome.
Thank You. Enjoy.
Actually, by garbage value I means the array does no store anything for now (i.e. it hasn't been initialized in the program). Although java initializes it automatically, but this method shouldn't be...
Because Your array stores "garbage value" for now. You haven't initialized it with numbers, you have just declared it. So it prints 0 as default.
This method is called Sieve of Eratosthenes.
1
2
3
4
5
6
String args[], not a[]. You are not initializing an array within the parameters.
Moreover, your array r is uninitialized. Initialize it with numbers before printing it.
If you have any problem regarding your programs, please post your problems at What's Wrong With My Code?
Thank You. Enjoy.
If you have any problem regarding your programs, please post your problems at What's Wrong With My Code?
Thank You. Enjoy.
If you have any problem regarding your programs, please post your problems at What's Wrong With My Code?
Thank You. Enjoy.
True. Considering you have asked for "M" or "F" and checking for "male" or "female". Just as GregBrannon said, this isn't magic. Maybe you took the question wrongly thinking M will yield male and F...
Glad to have you too Mr Superandri91 in this forum. Please read this topic to learn how to post code in code or highlight tags and other useful info for new members. If you have any problem...
That's right. Efficiency matters.