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
A country recently experienced a drop in consumer purchases and a rise in business inventories of durable goods. Wages grew slow
brilliants [131]

Answer:

A recession

Explanation:

A recession is a period of slow or negative economic growth that lasts several months. In a recession, there is a general decline in productivity in the economy. In other words, the GDP growth rate drops too low or turns negatives.

Due to low productivity, unemployment rate rises as the industries and services sectors lay-off workers instead of creating job opportunities.  There is reduced consumer confidence leading to low retail sales and a decline in prices.

Negative growth implies reduced levels of investment in the economy. Businesses experience low profits, and hence, stock prices fall.  Economist considers recessions a part of a normal business cycle.

8 0
2 years ago
Zanda Corp. and Jones Corp. are identical in every way (products produced, costs, demand, etc.) except for one. Zanda uses a lev
Natali [406]

Answer: (C) Zanda will have higher inventory carrying costs.

Explanation:

  The inventory carrying cost is one of the type of overall holding inventory cost that helps in identifying the various types of business expenses and also storing the various types of unsold goods and the services in the market.  

The inventory carrying cost is also known as the holding cost and it is basically responsible for handling the cost system by using the estimated formula.

According to the given question, Zanda corporation is basically using the level production plan for the purpose identifying their business factors such as costs, demand and the products.

So, based on the given information is Zanda will have the high inventory carrying cost statement is true. Therefore, Option (C) is correct answer.  

 

3 0
3 years ago
On April 30, Gomez Services had an Accounts Receivable balance of $24,600. During the month of May, total credits to Accounts Re
Nataliya [291]

Answer: $53,600

Explanation:

Credit sales increase the balance on Accounts Receivables because they represent that people owe the business.

It is therefore included in the formula for calculating the ending balance of Accounts Receivables:

Ending accounts receivables = Beginning accounts receivable + Credit sales in May - Customer payments during May

19,000 = 24,600 + Credit Sales in May - 59,200

Credit Sales in May = 19,000 + 59,200 - 24,600

= $53,600

4 0
2 years ago
What vehicle looks the same coming or going
masya89 [10]
1958 Zundapp Janus 250
7 0
3 years ago
Larry decided to relocate to Germany. Larry hired Happy Homes, Inc. to find a buyer and contract for the sale of his house in th
Dominik [7]

Answer:

True

Explanation:

The relationship between Larry and Happy Homes, Inc. has to be a written agreement. This is because the agreement is a contract between both Larry and Happy Homes Inc. involving the sale of his house which he has given Happy Homes the right to find a buyer for.

So when Happy Homes, Inc. find a buyer, Larry will be notified and the processes will take place as stated in the contract between Larry and Happy Homes, Inc.

cheers.

4 0
3 years ago
Read 2 more answers
Other questions:
  • All of the following are career myths that influence people’s perception of how important career explorations are for an individ
    5·1 answer
  • Board members of a nonprofit organization are calculating the salary offer for a new ceo. the board wants to ensure the salary p
    9·2 answers
  • What does it mean for a credit to transfer
    14·2 answers
  • Why does the Study state that "unless you are sleeping, it is almost impossible not to be communicating"?
    15·2 answers
  • A thirty-year U.S. Treasury bond has a 4.0 percent interest rate. In contrast, a ten-year Treasury bond has an interest rate of
    10·1 answer
  • Hyperlink is a feature that - a- calculates data in a cell B- connects test in the doc to an outside source C- saves a worksheet
    6·1 answer
  • Should all managers must always aim for the top position?why or why not
    14·2 answers
  • According to our Chapter 8 reading, the first step in time management should be
    14·1 answer
  • For management, a major downside of telecommuting is ________. decreased collaboration reduced morale increased turnover decreas
    9·1 answer
  • The ___________ is a statement for the daily business transactions. it includes the list of checks and balances for the office f
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!