
-----------------------------------
firebolt
Fri Jan 05, 2007 2:28 am

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 and $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.

-----------------------------------
ericfourfour
Fri Jan 05, 2007 2:43 am

Re: I am new, just wanna check how good u guyz are
-----------------------------------
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 [url=http://www.compsci.ca/v2/viewtopic.php?t=8808]Turing Walkthrough.

-----------------------------------
Ultrahex
Fri Jan 05, 2007 2:37 pm


-----------------------------------
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!

-----------------------------------
BenLi
Fri Jan 05, 2007 3:42 pm


-----------------------------------
u guyz help me write the program for it

truly deserving of the hall of shame. 

Just wanna see how good you guyz are

wtf?

-----------------------------------
ericfourfour
Fri Jan 05, 2007 6:15 pm


-----------------------------------
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
Fri Jan 05, 2007 9:39 pm


-----------------------------------
lol, its probably her summarative project, what school are you from?

-----------------------------------
Prince Pwn
Mon Jan 08, 2007 7:49 pm


-----------------------------------
Just wanna see how good you guyz are

lol  :lol: 

I'm not making fun of the person, that's the funniest post I ever seen on CompSci for some reason =)

-----------------------------------
Clayton
Mon Jan 08, 2007 7:58 pm

Re: I am new, just wanna check how good u guyz are
-----------------------------------

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.

-----------------------------------
blade360
Mon Jan 08, 2007 7:59 pm

RE:I am new, just wanna check how good u guyz are
-----------------------------------
i agree with the person above me

-----------------------------------
CodeMonkey2000
Mon Jan 08, 2007 8:25 pm

Re: RE:I am new, just wanna check how good u guyz are
-----------------------------------
i agree with the person above me
wtf? stop doing that. post something worthwhile.
