Author |
Message |
firebolt
|
Posted: Fri Jan 05, 2007 2:28 am Post subject: I am new, just wanna check how good u guyz are |
|
|
I am a grade 9 student
just came across a question.
can someone among u guyz help me write the program for it.
LETS C
Have to enter price of houses sold by a firm. As price is entered, program has to decide whether house is in low, mid, or high class and according calculate the commission earned by the firm.
low- <$100000 ; commission rate=6%
mid- >=$100000 and <$500000 ; rate =5.5%
high- >$500000 ; rate = 5%
has to exit when price of house is entered as 0.
THE FORMAT SHOULD LOOK SOMETHING LIKE THIS
Enter price of house. 10000
Commission rate is 6%
Commission is $600
Enter price of house. 200000
Commission rate is 5.5%
Commission is $1100
Enter price of house. 20000
Commission rate is 6%
Commission is $1200
Enter price of house. 0
Type Qty. $Volume Commission
LOW 2 $ 30000 $ 1800
MID 1 $ 200000 $ 11000
HIGH 0 $ 0 $ 0
TOTAL 3 $ 230000 $ 12800.
That is all about it.
I will be updating with my code frequently as i progress.
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
ericfourfour
|
Posted: Fri Jan 05, 2007 2:43 am Post subject: Re: I am new, just wanna check how good u guyz are |
|
|
firebolt wrote: can someone among u guyz help me write the program for it.
No. We don't do people's homework. We can however, help you with understanding what you need to know.
Where exactly are you having trouble? Can you show us some code so we can see how you are doing?
In the mean-time, a good place to start is the Turing Walkthrough.
|
|
|
|
|
|
Ultrahex
|
Posted: Fri Jan 05, 2007 2:37 pm Post subject: (No subject) |
|
|
ericfourfour: however we could make an EXE FILE
Here You Go For Some Easy Proof, BTW i was lazy doing this so an error could happen!
Description: |
|
Download |
Filename: |
InterestStuff.zip |
Filesize: |
270.85 KB |
Downloaded: |
59 Time(s) |
|
|
|
|
|
|
BenLi
|
Posted: Fri Jan 05, 2007 3:42 pm Post subject: (No subject) |
|
|
Quote: u guyz help me write the program for it
truly deserving of the hall of shame.
Quote: Just wanna see how good you guyz are
wtf?
|
|
|
|
|
|
ericfourfour
|
Posted: Fri Jan 05, 2007 6:15 pm Post subject: (No subject) |
|
|
BenLi relax. This person is just ignorant of the rules. The best you could do is teach them what is right and wrong instead of immediately condemning them.
|
|
|
|
|
|
vertozia
|
Posted: Fri Jan 05, 2007 9:39 pm Post subject: (No subject) |
|
|
lol, its probably her summarative project, what school are you from?
|
|
|
|
|
|
Prince Pwn
|
Posted: Mon Jan 08, 2007 7:49 pm Post subject: (No subject) |
|
|
Quote: Just wanna see how good you guyz are
lol
I'm not making fun of the person, that's the funniest post I ever seen on CompSci for some reason =)
|
|
|
|
|
|
Clayton
|
Posted: Mon Jan 08, 2007 7:58 pm Post subject: Re: I am new, just wanna check how good u guyz are |
|
|
Prince Pwn wrote:
I'm not making fun of the person, that's the funniest post I ever seen on CompSci for some reason =)
Either way, you shouldn't have posted that, it is a fairly inappropriate thing to be posting in a help forum. Try to refrain from such things later on please.
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
blade360
|
Posted: Mon Jan 08, 2007 7:59 pm Post subject: RE:I am new, just wanna check how good u guyz are |
|
|
i agree with the person above me
|
|
|
|
|
|
CodeMonkey2000
|
Posted: Mon Jan 08, 2007 8:25 pm Post subject: Re: RE:I am new, just wanna check how good u guyz are |
|
|
blade360 @ Mon Jan 08, 2007 7:59 pm wrote: i agree with the person above me
wtf? stop doing that. post something worthwhile.
|
|
|
|
|
|
|