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
If the pound sterling appreciates against the U.S. dollar, England buys _____ U.S. goods, causing the U.S. aggregate demand curv
Mandarinka [93]

Answer: More, Right

Explanation:

Appreciaton of a currency means the value of the currency has increased. When the pound sterling appreciates against the United States dollar, England will buy more of the products in the United States because the goods are cheaper when compared to their own currency.

Due to the increase in the United States product bought by England, the aggregate demand curve of the United States shifts to the right. The shift to the right of the aggregate demand curve shows that there is an increase in demand.

6 0
3 years ago
Outsourcing:
alekssr [168]

Answer: Option D  

           

Explanation: Outsourcing is an arrangement where one organization employs another organization to be responsible for an in-house planned or ongoing operation and sometimes requires the transition of staff and properties from one organization to another.

There are number of reasons why company outsource their activities some of which could be lesser cost, focus on core activities and use of specialization etc.

Outsourcing is generally performed by organisations that are operating their business at a very high scale and the management is unable to monitor and perform all jobs efficiently.

8 0
3 years ago
An analyst in the corporate finance department at Chase Manhattan Bank has been assigned to an interdepartmental project involvi
marissa [1.9K]

This sort of organizational structure is called a matrix structure.

<u>Explanation:</u>

The representation of a corporation in which monitoring interactions are defined as a grid, or matrix, instead of in conventional hierarchies is understood as a matrix organizational framework. In another terms, workers have multiple responsibilities to report-usually both to a functional boss and to a manager of commodity. Here analyst at Chase Manhattan Bank's corporate finance division has been allocated to an interdepartmental project involving a large client. Thus he need to answer two separate bosses from his department and project manager.

5 0
3 years ago
On December 31, 2017, Jerome Company has an accounts receivable balance of $316,000 before any year-end adjustments.
katovenus [111]

Answer:

The Allowance for Uncollectible Accounts at December 31, 2017 is $10,430

Explanation:

In order to calculate the Allowance for Uncollectible Accounts at December 31, 2017 we would have to make the following calculation:

Allowance for Uncollectible Accounts at December 31, 2017=Estimated Allowance 1-30 days+Estimated Allowance 31-60 days+Estimated Allowance 61-90 days+Estimated Allowance over 90 days

Estimated Allowance 1-30 days=Balance*% Uncollectible

Estimated Allowance 1-30 days=$152,000*1%=$1,520

Estimated Allowance 31-60 days=$87,000*2%=$1,740

Estimated Allowance 61-90 days=$50,000*3%=$1,500

Estimated Allowance over 90 days=$27,000*21%=$5,670

Allowance for Uncollectible Accounts at December 31, 2017=$1,520+$1,740+$1,500+$5,670

Allowance for Uncollectible Accounts at December 31, 2017=$10,430

5 0
3 years ago
What happens to the price of a good or service when a shortage of that good or service occurs?
Pachacha [2.7K]

Answer:

If shortage of goods and services occurs, obviously, the price will touch the sky, i. e. the price will increase twice or thrice the Real price...

8 0
3 years ago
Other questions:
  • Garvin's ________ definition of quality states that if the customer is satisfied, the product has good quality.
    9·1 answer
  • A perpetuity of $6,000 per year beginning one year from today is said to offer a 15% interest rate. What is its present value? g
    10·1 answer
  • Depreciation Methods On January 2, 2018, Skyler, Inc. purchased a laser cutting machine to be used in the fabrication of a part
    10·2 answers
  • In a small, closed economy, national income (GDP) is $350.00 million for the current month. Individuals have spent $100.00 milli
    15·1 answer
  • True/False. A difference between work team and work group is that a group’s performance is merely the summation of each member’s
    8·1 answer
  • An individual investor who wishes to borrow money to buy stocks must open a A) signature account. B) margin account. C) joint ac
    15·1 answer
  • Cost of goods sold budget Pasadena Candle Inc. budgeted production of 785,000 candles for the year. Each candle requires molding
    7·1 answer
  • Terra Corp. is incorporated in Florida with its principal office in Destin. Phyllis is the president of Terra Corp. and owns 51%
    8·1 answer
  • If your liquid assets equal $15,000 and your total current debts equal $50,000, your liquidity ratio is:
    9·2 answers
  • In order for managers to determine the resources needed to achieve their objectives, a(n)?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!