Answer:
Explanation:
The algorithm can be described as follows
The first process is to ensure that the constraints for the time at which the offers begin is well defined.
TIME1 = 14:00
TIME2 = 16:00
TIME3 = 18:00
Then, decide the final number of meal following the free meal that has been offered.
NUMBER_OF_MEALS=4;
Then; decide the prices attached to the meal at regular times.
PRICE = 200;
At regular mode, decide the prices attached to the meal and as well as when the offer time commences.
PRICE_OFFER = 160;
Then ask the client(i.e the user) to put in the value required for the number of meals they desire to order.
Input values in n
Suppose (the value exceeds 8)
Then proceed to enquire from the client if they wish to go for the offer.
If not, use the regular price for the order.
Assume the client asks if the offer is a good one to bid for.
You are to show then the analysis of the calculation.
regular = 8 × PRICE
offer = 8 × PRICE_OFFER
profit = regular - offer
Finally, show the profit to the client which will let them know if it is good to bid for it or not.
Answer:
B) computeValue(10);
Explanation:
Given
Header: void computeValue(int value)
Required
Determine the valid call
To call a function from another function or from the main, the following syntax has to be used.
<em>function-name(parameter-1, parameter-2, parameter-3,.....,parameter-n);</em>
<em />
In the function header given:, the following can be observed:
- The function name is computeValue
- It has only one parameter and it is of type integer
So, to call the function; we make use of computeValue(10);
Where 10 represents the value of the parameter (i.e. argument)
Answer:
Firms that use high-speed computers and communications networks to execute millisecond trades for themselves
Explanation:
High Frequency traders are different entities that take part in the market that use powerful computers to be able to be fast at answering to news and have a big number of trades. These traders use advance tools to evaluate the markets and anticipate trends quickly to obtain profits from the trades they make. According to this, the answer is that High Frequency Traders are Firms that use high-speed computers and communications networks to execute millisecond trades for themselves.
Answer:
Explanation:
Algorithm design is the branch of discrete mathematics and computer science that deals with the research, development and implementation of sequential and asynchronous algorithms. ... An algorithm is simply a sequence of instructions; a recipe is an algorithm, and so is a list of driving instructions.
Answer:
i dont know anything about them only that the bear is the ducks son and the duck is the fox mom.
Explanation: