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
Burger Buddies restaurant chain is attempting to bring back their fried fish sandwich. It is an
worty [1.4K]

The marketing firm need to focus their efforts on

product modification.

<h3>What is product modification</h3>

Product Modification includes changes that are done on an existing product to make it more acceptable.

This could include branding, changing the quantity and colour to help increase the demand.

Therefore, The marketing firm need to focus their efforts on product modification.

Learn more on marketing here,

brainly.com/question/25369230

#SPJ1

7 0
2 years ago
Read 2 more answers
Managers are a critical part of any successful organization because​ ________.
Dmitriy789 [7]

Managers are a critical part of any successful organization because<u> "they use their skills and knowledge to move the organization forward towards established goals".</u>


Managers impact every one of the periods of present day associations. Sales Managers keep up a business constrain that business sectors merchandise. Staff Managers give associations an able and gainful workforce. Plant Managers run fabricating activities that create the garments we wear, the nourishment we eat, and the vehicles we drive.  

Basically, the part of managers is to direct the associations toward objective achievement. All associations exist for specific purposes or goals,and managers are in charge of joining and utilizing hierarchical assets to guarantee that their associations accomplish their motivations.

6 0
4 years ago
Which of the following is true about a business plan?
dusya [7]

Answer:

d

Explanation:

the plan can change from buget sponsors and othere factors

3 0
3 years ago
Dan Pink argues that for 21st century tasks in creative businesses the mechanistic, reward-and-punishment approach will not work
Ber [7]

Answer: True

Explanation:

This statement is true. Dan Pink argued that when it came to creative businesses, it would be best to use intrinsic as opposed to extrinsic rewards to encourage employees as extrinsic rewards such as money could constrain creativity.

Intrinsic rewards are those that are psychologically rewarding such as giving employees tasks that are fulfilling and make them feel part of the team as well as positive feedback from employers.

8 0
3 years ago
On April 1, 2019, a company paid the $1,350 premium on a three-year insurance policy with benefits beginning on that date. What
emmainna [20.7K]

Answer:

The insurance expense on the annual income statement for the year ended December 31, 2019 will be D. $337.50

Explanation:

The company paid the $1,350 premium on a three-year insurance policy.

The insurance expense per year = $1,350/3 = $450

From April 1, 2019 to December 31, 2019, the company had bought the insurance for 9 months.

The insurance expense on the annual income statement for the year ended December 31, 2019 = $450/12x9 = $337.5

6 0
3 years ago
Other questions:
  • The front office staff at marriott hotels has a preshift meeting at 7:00 am every morning. as general manager, you are expected
    5·1 answer
  • Having low credit score can make it more difficult to
    6·2 answers
  • Suppose 2-year treasury bonds yield 4.5%, while 1-year bonds yield 3%. r* is 1%, and the maturity risk premium is zero. using th
    9·1 answer
  • How do you accept criticism
    7·1 answer
  • Coronado Industries began the year 2022 with retained earnings of $661000. During the year, the company sold additional shares o
    14·1 answer
  • Describe three different financial decisions and their opportunity costs.
    6·2 answers
  • Money is: the gold and silver behind the currency and the coins that are issued by the government. only the printed paper curren
    15·1 answer
  • Sprint Planning is the only occasion where the Development Team estimates the Product Backlog Items A. True, because without est
    13·1 answer
  • Identifying Job Application Tools
    9·2 answers
  • Economic models that make unrealistic assumptions may be useful in analyzing some economic problems.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!