Click to See Complete Forum and Search --> : java
zumapapa003
May 12th, 2008, 09:57 AM
Pls help me urgently....... If a, b, c, d, e, and f are integers in between 1 to 50, write a program that counts all the combinations with the same sum (e.g. given sum = 150 - prompt the user to enter the desired sum) of all the possible six-number arrangement in a row where
a < b < c < d < e < f.
Thanks
_uj
May 12th, 2008, 10:11 AM
If a, b, c, d, e, and f are integers in between 1 to 50, write a program that counts all the combinations with the same sum
You can use 6 nested loops each using an integer as loop variable counting from 1 to 50. In the innermost loop you just add up all loop variables and check if the sum equals the desired sum.
zumapapa003
May 12th, 2008, 11:29 AM
Regarding the programme please can u write the program and send it to me my mail addy s lanre32000@yahoo.com
_uj
May 12th, 2008, 01:54 PM
Regarding the programme please can u write the program and send it to me my mail addy s lanre32000@yahoo.com
Hire a consultant.
Deliverance
May 12th, 2008, 03:06 PM
Regarding the programme please can u write the program and send it to me my mail addy s lanre32000@yahoo.com
Now that actually made me laugh.
banie
May 12th, 2008, 07:16 PM
We helping you when you stuck with your code not to help making code for you. Please read the rule.
_uj
May 13th, 2008, 07:12 AM
Now that actually made me laugh.
I find it hard to laugh. You help people and they just ask for more. Not even a thank you. Is it the upbringing or is it the schools or are people just plain dumb.
ProgramThis
May 13th, 2008, 08:07 AM
I find it hard to laugh. You help people and they just ask for more. Not even a thank you. Is it the upbringing or is it the schools or are people just plain dumb.
Do you really want an answer to that? Personally, I believe that it is a combination of all three.
Deliverance
May 13th, 2008, 10:56 AM
At least the poster spelled "please" and not "plz".
On a serious note, it's a combination of people who register into the Computer Engineering because it sounds interesting, without having realized how challenging it really is, and are not ready to fathom the concept that this is a field where it's not acceptable or advised to perform the minimum required work and obtain a passing grade.
Then the following term comes around, and they realize they're expected to know fairly fluently the previously 'learned' material, and they end up overwhelmed by these concepts, and turn for advice thinking that if they get through this one, the following term will be easier...?
Just my $0.02 on it, I've seen several former colleagues in college do the same.
dlorde
May 13th, 2008, 03:21 PM
Regarding the programme please can u write the program and send it to me my mail addy s lanre32000@yahoo.comI think you probably misunderstood the assignment. It is your assignment, and, unless you're doing a Sales & Marketing course, or Psychology, the idea is not to persuade someone else to do it. We already know how to do this, you don't. So the point is that you should write the code because that's how you learn to do it. If you ask nicely we can help if you get stuck.
Sometimes you just have to grin at the chutzpa of these people - until you realize they really did expect you to do their work for them... Perhaps they'd be better off in politics.
There is a division in the student population between those who go to college to learn and those who go to college to get a diploma...
J. Blau
keang
May 13th, 2008, 06:08 PM
Perhaps they'd be better off in politics.But the OP did say 'Please' and when have you ever heard a politician say 'Please'. :)
dlorde
May 13th, 2008, 07:30 PM
But the OP did say 'Please' and when have you ever heard a politician say 'Please'. :)True - the OP is will have to learn not to do that ;)
Good judgment comes from experience; experience comes from bad judgment...
F. Brooks
codeguru.com
Copyright WebMediaBrands Inc., All Rights Reserved.