|
-
June 30th, 2007, 10:29 PM
#1
C++ question.
hello there.. urm.. i need some help on this question, please take a look:
write a program to help a local bookstore automate its billing system. the program should do the following:
display menu
allow customor to select/buy more than one book
calculate and print bill..
NO title price
1. lord of the ring rm 159.90
2. harry potter rm 80.90
3. superman rm 60.00
requirements:
you are to use selection and repitition structues in your program.
you should give a 10% discount if the customer is a member of the bookstore.
sample output:
WELCOME TO ABC BOOKSTORE.
No title price
1. lord of the ring rm 159.90
2. harry potter rm 80.90
3. superman rm 60.00
are you a member(y/n)? y
please enter your selcetion
item no: 1
quantity number:1
do you want to continue? y
itemm no:2
quantity :1
do you want to continue? n
1. 159.90*1
2. 80.90*1
total: rm 240.80
discount: rm 24.08
total: rm 216.72
this is my question.. if any1 can help me guide through the question.. it would be very helpful..and appreciative.. please people.. help your bro out..
im runnin windows Xp...SP2.... accer aspire 5050 laptop.
-
June 30th, 2007, 10:44 PM
#2
-
July 2nd, 2007, 12:06 PM
#3
Re: C++ question.
 Originally Posted by Vila
Wow, man. When I looked this post I couldn't resist not to write this program for you.
I hope it will help.
Here are two attachments:
1.Source code from C++ 8.0 and
2.EXE file of that program. (TIP: change .cpp in .exe  )
So 'bro' will you say 'Thank you' or no???
Dude, we don't do homework for people here. Please delete your post.
-
July 2nd, 2007, 12:36 PM
#4
Re: delete
-
July 2nd, 2007, 12:55 PM
#5
Re: delete
 Originally Posted by Vila
OK.
I am sorry, OK?
No problem. You may want to read the link Paul provided above.
-
July 2nd, 2007, 01:07 PM
#6
Re:
I just read it.
I will respect forum rules in future.
Thanks for telling me that.
-
July 2nd, 2007, 01:19 PM
#7
Re:
 Originally Posted by Vila
I just read it.
I will respect forum rules in future.
Thanks for telling me that. 
It's not so much a rule as we want to help people. It's much more productive to help them actually understand what they're doing than just giving them something to copy and paste.
If the OP wants to take a stab at it and ask specific questions, many people here will be happy to help. An effort needs to be demonstrated first though.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|