473,395 Members | 1,696 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Retail Application

I've been assigned a task to design a program for a local Furniture Company. The company allows customers that cannot pay cash for the furniture to pay a deposit and pay the balance in monthly installments, provided that the total amount of the purchase does not exceed R100.000. The amount of the deposit to be paid depends on the total of the purchase.

*The deposit for purchases less than R25.000 is calculated as 5% of the purchase amount.

*Purchase amounts between R25.000 and R49.999 require a deposit of R1.500 plus 10% of the purchase amount over R25.000.

*Purchases between R50.000 and R100.000 require a deposit of R5.000 plus 25% of the purchase amount over R50.000.

*if the purchase amount is more than R100.000 a message must be displayed to the user, that "The amount is invalid".

After the deposit is calculated, print the purchase amount and the deposit, only if the deposit is more than zero. Design an algorithm that will read a purchase amount, compute and print the required deposit for a customer.


Solution
1. A Defining Diagram
2. The solution algorithm in pseudo-code
3. A flowchart that corresponds to the pseudo-code
4. An expected results table
5. A desk checking table
Apr 14 '10 #1
3 2061
RedSon
5,000 Expert 4TB
Sounds like a school assignment. Is this a school assignment or did a furniture company really ask you to provide them with a diagram, some pseudo-code and a flowchart?

Every company I've ever worked for just wanted the end product, they could care less what the pseudo-code and diagrams are.
Apr 14 '10 #2
@RedSon
its a schools project... Please help with the task at hand.
Apr 14 '10 #3
RedSon
5,000 Expert 4TB
The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

Please read the Posting Guidelines and particularly the Coursework Posting Guidelines.

Then when you are ready post a new question in this thread.

MODERATOR
Apr 14 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: J. Baute | last post by:
I'm caching data in the Application object to speed up certain pages on a website The main reason is that the retrieval of this data takes quite a while (a few seconds) and fetching the same data...
3
by: Amit Dedhia | last post by:
Hi I am developing a Dot net application (involving image processing) on a uni processor. It works well on my machine. I then take all my code on a multi processor, build and run the application...
6
by: orekin | last post by:
Hi There I have been trying to come to grips with Application.Run(), Application.Exit() and the Message Pump and I would really appreciate some feedback on the following questions .. There are...
20
by: Peter Oliphant | last post by:
How does one launch multiple forms in an application? Using Photoshop as an example, this application seems to be composed of many 'disjoint' forms. Yet, they all seem somewhat 'active' in...
4
Coldfire
by: Coldfire | last post by:
Hello folks! I need recommendation for Database for a Retail Point of Sale Application either from SQL Server or MySQL. I know SQL is expensive than MySql but performance wise MySQL has upgraded...
0
by: sajithamol | last post by:
what is the commercial utilization of ARI as an application?
0
by: lazydba | last post by:
Hi, I installed the evaluation copy on a server, the eval license expired, and now I'm trying upgrade to a retail version. I have read the docs http://support.microsoft.com/kb/914158/en-us and...
2
by: Mortiis | last post by:
I am in school and taking a visual basic class, I need to write a program that will accept the wholesale amount and add a markup percentage and return the total retail price. I am not sure where to...
4
by: kanvikb | last post by:
hai everybody, Pls let me out of this problem. we r planning to develop a retial application using java i.e., meant for Retail SuperMarket Billing and Inventory processing etc. But we r...
4
by: wutzke | last post by:
I started working on a script that would take the cost of something and suggest a retail amount. I usually figure Retail on Margins. So Retail equals Cost divided by (Margin-100)% plus Cost. So...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.