Consider a pharmacy and its stock of products ( medicamentos, cosméticos e de higine pessoal ). Products of the three categories are properly acquired or sold. A clerk checks the availability of a product and its price. You can also sell it in a number of units. The manager can make records of entry and low can the stock of each product. Model and behavior of stock through a set of operations given in the format:
<name>(<types-of-parameters>):<type-of-result>
Algorithm
Started by Apprentice123, May 03 2009 04:08 PM
9 replies to this topic
#1
Posted 03 May 2009 - 04:08 PM
|
|
|
#2
Posted 03 May 2009 - 04:23 PM
What's your question?
#3
Posted 03 May 2009 - 04:31 PM
WingedPanther said:
What's your question?
Create the behavior of stock through a set of operations given in the format:
<name>(<types-of-parameters>):<type-of-result>
The operations of clerk and the manager
#4
Posted 03 May 2009 - 04:36 PM
This is clearly a homework question, since the phrasing of the question is NOT part of any standard analysis I'm familiar with. So, what part of it are you having difficulty with?
#5
Posted 03 May 2009 - 05:18 PM
WingedPanther said:
This is clearly a homework question, since the phrasing of the question is NOT part of any standard analysis I'm familiar with. So, what part of it are you having difficulty with?
Please give me an example to try to resolve
#6
Posted 03 May 2009 - 06:16 PM
I am willing to do one of the following:
1) review a possible solution and offer feedback
2) answer a specific question about an aspect of the problem (such as clarifying the question)
3) engage in a discussion to help you clarify the problem.
Something that might help is if you explained what this means: "<name>(<types-of-parameters>):<type-of-result>" It is not standard terminology, so is probably something you've been taught about.
1) review a possible solution and offer feedback
2) answer a specific question about an aspect of the problem (such as clarifying the question)
3) engage in a discussion to help you clarify the problem.
Something that might help is if you explained what this means: "<name>(<types-of-parameters>):<type-of-result>" It is not standard terminology, so is probably something you've been taught about.
#7
Posted 04 May 2009 - 10:28 AM
How do I make an algorithm for this problem is not of the form:
<name>(<types-of-parameters>):<type-of-result>
<name>(<types-of-parameters>):<type-of-result>
#8
Posted 04 May 2009 - 12:42 PM
Can you give an example of what the form looks like? You could be talking about a function declaration, for example, but it's not clear.
#9
Posted 04 May 2009 - 12:48 PM
How I can creat a function to operations of clerk and manager
#10
Posted 04 May 2009 - 01:02 PM
Apprentice, do you understand what is being asked for in the original problem? Can you restate it, paraphrase it, or otherwise reword it?


Sign In
Create Account


Back to top









