1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
DENIUS [597]
3 years ago
13

Online Book Merchants offers premium customers 1 free book with every purchase of 5 or more books and offers 2 free books with e

very purchase of 8 or more books. It offers regular customers 1 free book with every purchase of 7 or more books, and offers 2 free books with every purchase of 12 or more books. Write a statement that assigns freeBooks the appropriate value based on the values of the boolean variable isPremiumCustomer and the int variable nbooksPurchased.
Business
1 answer:
EastWind [94]3 years ago
5 0

Answer:

A statement that assigns freeBooks the appropriate value based on the values of the boolean variable isPremiumCustomer and the int variable nbooksPurchased.

if(nbooksPurchased > 4){

if(isPremiumCustomer){

freeBooks = 1;

if(nbooksPurchased > 7){

freeBooks = 2;

}

}else{

freeBooks = 0;

if(nbooksPurchased > 6){

freeBooks = 1;

}

if(nbooksPurchased > 11){

freeBooks = 2;

}

}

}else{freeBooks = 0;}

Explanation:

You might be interested in
In recent decades, the average level of skills and training possessed by immigrant workers has: A. increased. B. decreased. C. r
Gwar [14]
The average level has increased A
5 0
3 years ago
Which economies systems have least in common?
Effectus [21]

Answer:

command economy and capitalism

Explanation:

A command economy is a situation where the government determines what goods and services are produced in a state. The government formulate its production policies to achieve his goals and objective. The major advantage of a command economy is that is reduces the level of inequality in a state, as against the profit motive in capitalism. Examples of a command economy country is North Korea and Cuba

Capitalism is an economic state where private individuals own and controls factors of production to for profit motive. Private investors are given power by government to control labour, capital and land in the production process with little or no involvement by government. Examples of countries practicing capitalism includes USA, Chile, canada, etc.

6 0
3 years ago
What are the six stages of business
BartSMP [9]

Answer:

In all, there are six distinct stages: Planning, Presence, Engagement, Formalized, Strategic, and Converged. With Planning, companies set out to create a strong foundation for strategy development, organizational alignment, resource development, and execution.

7 0
3 years ago
Answer please!
Alex

Answer:

Fixed capital is defined as the part of the total capital of the enterprise which is invested in long-term assets. Working Capital refers to the capital, which is used to perform day to day business operations. On the other hand, Working capital comprises of short-term assets and liabilities of the business.

Explanation:

6 0
4 years ago
You own a bagel shop that uses capital and labor in its production process. you recently realized that your marginal product per
Zielflug [23.3K]
<span>To increase your profit, you should increase the amount of capital your are using.<span> This way it will be a chain-reaction of decisions, where you will be able to hire more people to do your labor and help you produce more goods for your company. Though the increase rate in capital will continue, the gains will increase and the business will eventually experience an equilibrium at some point. This depends if the products have been sold successfully to the market.
</span></span>
5 0
3 years ago
Other questions:
  • Jim deposits $6,000 into a money market account interest at an annual rate of 5.5% compounded continuously.
    13·1 answer
  • When compared with last development countries a higher proportion of people in developed Nations fall into which age group
    13·1 answer
  • Assume your employer provides health care insurance and deducts your portion of the premiums from your paycheck with pre-tax dol
    14·1 answer
  • Choose the word that best completes this sentence. A personal fall arrest system is the most ------------ type of fall arrest in
    15·2 answers
  • Anna began with a balance of $86.54 in her checking account this month. she deposited $275.88 and wrote checks for $123.70, $66.
    5·2 answers
  • Dukelow Corporation has two divisions: the Governmental Products Division and the Export Products Division. The Governmental Pro
    7·1 answer
  • During the months of January and February, Axe Corporation purchased goods from three suppliers. The sequence of events was as f
    6·1 answer
  • You are given two companies. Company A is expected to return 10% with standard deviation of 23%. The beta of Company A is 1.75.
    8·1 answer
  • A manager wants to cut costs by laying off all workers who are 50 and older
    5·1 answer
  • Using one of the leadership roles or extracurricular activities you prioritized as being important to you, describe what impact
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!