• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

step by step help to make a program for 'Receipt Calculation Program for Retail Store'

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It takes input as item details like name , price etc and prints back the total price with summary.
different discounts in different items which should be calculated at the moment internally.

Input :
Item Name , Quantity and Price as Input
Example:
Enter Item Name: jeans
Enter Quantity:1
Enter Item Price: 500 Rs

Enter Item Name: bowl Set
Enter Quantity:1
Enter Item Price: 200 Rs

Enter Item Name: pen
Enter Quantity:2
Enter Item Price: 40 Rs

Enter Item Name: bat
Enter Quantity:3
Enter Item Price: 60 Rs


O/pt:
no. - Item - Qty. - Price
-------------------------------
1.) jeans - 1- 500 Rs
discount 10% - 50 Rs

2.) bowl set - 1- 200 Rs

3.) pen - 2 - 80 Rs
discount 20% -16 Rs

4.) bat - 3 - 180 Rs
--------------------------------
Total: Rs xxx/-
Total Discount: Rs yy/-

i am not expecting full source code, i just need help and guidance to create this program..
how to start, etc.. thanks in advance
 
bittu naidu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
atleast some idea on how to approach!!??
 
Marshal
Posts: 79239
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch

Please read this. You cannot expect answers in a certain time.
Start by showing us how many classes you are going to write, I suggest.
 
bittu naidu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i want to do this using oops concept..
how many classes would you suggest, can tell me how the flow of program should be. it'll help me decide on how to approach the program.
 
Campbell Ritchie
Marshal
Posts: 79239
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, and what objects can you see in the description? We don't do people's work for them.
 
reply
    Bookmark Topic Watch Topic
  • New Topic