Online Book Merchants offers premium customers 1 free book with every purchase of 5 or more books and offers 2 free books with every 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 bool variable isPremiumCustomer and the int variable nbooksPurchased. Assign 0 to freeBooks if no free books are offered. Assume the variables freeBooks, isPremiumCustomer, and nbooksPurchased are already declared.

In C++ please

Answers

Answer 1

fill in the blanks

we should our selves


Related Questions

A while loop uses a(n) ___________ at the top of every iteration to test whether to continue or not.

Answers

Answer:

boolean

Explanation:

while loops test to see if something is true or false to know when to continue the loop

How does an organization comply with data-usage clauses within data protection regulations such as GDPR or the Data Protection Act?

Answers

Answer:

How does an organization comply with data security clauses in data protection regulations such as GDPR or the Data Protection Act? ... By ensuring all data storage is publicly accessible to guarantee fairness. By only sharing collected personal data with partners and third-party channels.

ANY KIND PERSON HERE?
in our new situation. what are the things we already use before but we value more now a days to protect our self from virus, write your answer on space provided. ___1. __________________________ ___2.__________________________ ___3.__________________________ ___4.__________________________ ___5.__________________________​​

Answers

Answer:

1. face mask

2. face shield

3. following the social distance

4. taking a vaccine

5. taking care of ourselves

Explanation:

hope this helps

Answer:

1. Face mask
2. Hand sanitizer
3. Alcohol
4. Drinking vitamins
5. Hand wipes/tissues


Hope this helped:)

Write a class number which has Following
N - integer
Methods
Default constructor
Argument constructor
setN method to change the value of N
isprime() to check that N is a prime number isarmstrong to check N is Armstrong iseven() to check if N is even or odd these method should also work for given numbers
class should have provision to know the count of objects

Answers

The Python program implementing the required features of the class number is lengthy. So, it is attached to the answer as an image

First, two attributes are defined in the class:

A class attribute called count_instances that is incremented anytime an instance is created. Thus, it keeps count of the number of instances created.An instance attribute called N that stores the number

Python does not allow operator overloading by default. To implement default and argument constructors, use default/optional arguments. Though there are other ways, this is the simplest approach for the purposes of this problem.

The isPrime method checks if the constructed number is a prime number. The for loop runs from 2(since this is the first prime number) to int(sqrt(N)), and checks which of these numbers divides N. If none divides N, then N is prime, and it returns true, else it returns false.

isArmstrong checks if the number is an Armstrong number. To easily get the order of the number, the number is converted to a string and the number of characters is gotten.

The number is an Armstrong Number if

[tex]abc...=a^n+b^n+c^n+...[/tex]

where

[tex]n=\text{order of the number, or, number of digits in the number}\\a,b,c,...=\text{the individual digits of the number}[/tex]

See another example on Prime numbers here: https://brainly.com/question/20379340

1. A is printed at the bottom of each page.​

Answers

Answer:

b is also printed at both page

Explanation:

I need to do because c can also pri Ted at all side

hope its help you

please mark as brainliest

Guys did yall get call of duty vanguard yet ​

Answers

Answer:

no not yet

Explanation:

but brainliest me

no not yet soon tho

Create a raptor program that asks to user to enter 10 numbers into an array. Then display all the numbers, the smallest and the largest. Be sure to add prompts and labels to your input and display.

Answers

This is the raptor program written in Python 3.8:

########################################################

ten_numbers = [ ]

# get the ten numbers

print("Enter 10 numbers")

for i in range(1, 11):

   num = int(input("[{ }] (Enter number and press enter to accept): ".format(i)))

   ten_numbers.append(num)

# get the smallest and the largest

smallest = min(ten_numbers)

largest = max(ten_numbers)

# display the results

print("The list of numbers is: { }".format(ten_numbers))

print("The smallest number in the list is { }, and the largest is

           { }.".format(smallest, largest))

########################################################

The raptor program

Uses a for loop to get the 10 numbers into a list. Then, it uses the in-built Python min and max functions to get the smallest and largest numbers in the list.

Learn more about Python lists here: https://brainly.com/question/24941798

In cell G5, enter a formula without using a function that subtracts the actual dollars billed from the estimated amount to determine the remaining amount of the estimate for general administrative services

Answers

Using the appropriate excel syntax, the formula which calculates the actual amount from estimated amount is : =C10 - D10

Using the cells thus :

Actual dollar billed = C10Estimated amount = D10

Using the cell values defined above ; the required excel syntax is as follows :

=C10 - D10

Note : All excel formulas begin with the equal to sign.

Learn more : https://brainly.com/question/25644130

write down the color code for straight-through cabling. write your answer on the space provided​
1.
2.
3.
4.
5.
6.
7.
8.

Answers



White/Green
Green
White/Orange
Blue
White/Blue
Orange
White/Brown
Brown

Mark Brainliest please

Answer:

1White/Green

2Green

3White/Orange

4Blue

5White/Blue

6Orang

7White/Brown

8Brown

Which syntax is used to output the line "Hello" and move to a new line?

Answers

Answer: System.out.println("Hello")

Duolingo is a widely used foreign language app, with 300 million users in 2018. While there is a free version of the app, a premium Duolingo subscription eliminates advertisements during language practice and offers new quizzes with the ability to save lessons for offline use. a. Identify each hurdle for users of the free version of the app.

Answers

The hurdle for users of the free version of the app is the subscription fee paid for the premium version of the app.

A lot of people do not pay and cannot afford the premium fee. Some people are not very sure at the initial stage of using the app.

People sometimes want use app for free for some time.

A Subscription is simply known to be paid so as to access content from an app or service for a set out period of time. For example,  subscription to Netflix on a monthly basis.

Learn more from

https://brainly.com/question/15301858

in microsoft word, level 1 is automatically formatted as

Answers

Answer:

Level 1 is the highest or main level of heading, Level 2 is a subheading of Level 1, Level 3 is a subheading of Level 2, and so on through Levels 4 and 5. Headings are covered in Sections 2.26 and 2.27 of the APA Publication Manual, Seventh Edition.

Explanation:

a. In cell K11, create a formula using the DCOUNT function to count the number of projects with final costs of more than $100,000, using the data in the entire Projects table (Projects[#All]) and counting the values in the column of final costs ("Final Cost") that are equal to the values in the range J9:J10

Answers

Answer:

the data in the entire Projects table (Projects[#All]) and counting the values in the column of final costs ("Final Cost") that are equal to the values in the range J9:J10

Cloud computing brings the ability to scale both technologically and business-wise using a pay-as-you-go paradigm, allowing the users to concentrate more resources and time on their ideas (Edlund & Livenson, 2011). Please write a technical report about the opportunities and challenges on adoption of cloud computing in a real or fictional business case.

Answers

The opportunities that can be gotten from the adoption of cloud computing include:

More resources will be available for data protection.More data security.More employment opportunities.

The challenges that can be gotten from the adoption of cloud computing include:

Separation failure.Data transfer bottlenecks.Public management interface issues.

It should be noted that cloud computing means the delivery of different services through the internet. Such resources include applications and tools such as data storage, databases, servers, etc.

Cloud computing is vital as it helps in enhancing data security and job opportunities. The challenges include data transfer bottlenecks, separation failure, etc.

Read related link on:

https://brainly.com/question/25532807

When proofreading, you should do all of the following except _____.


read aloud

ask someone else to look over the document

take the time to carefully look over your work

skim the document quickly

Answers

Answer:

Skim the document quickly

Explanation:

The purpose of proofreading is to catch any errors that may have been present when the work was first written.

All the options are usually done when proofreading, except for the last one.

Hope this helps :)

What device do e-learning applications usually use to help users with visual
impairment read digital content?

Answers

The answer is Screen Readers.

Kayla is on-location shooting a wedding while her other employees will be holding down the office and taking care of any walk-ins. Kayla left them written reminders and instructions for some things that they need to take care of in her absence. How did Kayla MOST LIKELY leave these instructions?

A.
in shot lists being created for upcoming events

B.
in purchase orders for equipment that needs to be ordered

C.
in memos she wrote prior to leaving

D.
by telling the models who would be photographed that day

Answers

Answer: A

Explanation:

In short lists being created for upcoming events did Kayla MOST LIKELY leave these instructions. Hence, option A is correct.

What is short lists?

Every camera shot that needs to be recorded in a scene for a video production is listed in detail on a shot list.

A shot list, created by the director and cinematographer during pre-production, is a thorough list of each shot that must be taken on a particular shoot day. Its main objective is to deconstruct a scene into detailed phases that can be used as a guide for your day of shooting.

A shot list is a breakdown of each shot of each scene and the order in which you plan to shoot them, whereas a storyboard shows your cinematographer and production designer your vision for each specific scene.

Thus, option A is correct.

For more information about short lists, click here:

https://brainly.com/question/13099126

#SPJ2

What is that called…. Ethetnet cable port or what !?

Answers

Answer:

The left one is a router or switch or hub (could be any as far as I see).

The right one is a satellite dish.

Explanation:

"A switch transmits data from one device to another in form of frames while a router transmits data from one network to another in form of packets. A hub transmits data from one device to another in form of binary bits." - from section.io

"A satellite dish is a dish-shaped type of parabolic antenna designed to receive or transmit information by radio waves to or from a communication satellite." - Wikipedia

Backup software creates backups and prevents you from losing all your data, so would backup software be considered an application software or utility software?

A). application software

B). utility software

Answers

Answer:I also think it's b because it litterlottery says or a utility software so obviously a utility software WOULD be considered a utility software.

Explanation:

Option(B). Utility software is the correct answer.

Antivirus, backup software, file managers, and disk compression tools are examples of utility software. These programs evaluate and keep up computers. These programs are designed with an emphasis on how the OS functions, and they carry out tasks to make the machine run efficiently.

What is a Utility software?A computer's databases, directories, and files are all backed up using backup utility software. It frequently works by creating an exact clone of the entire disk. If data loss happens, the user might be able to recover the lost data using the computer's backup utility tool.All systems and applications on a computer system that keep it functional are referred to as utility software.The utility software on a computer consists of parts that help the operating system to organize, maintain, and manage its performance under all conditions.In addition to supporting the computer's architecture, this kind of software is distinct from application software, which carries out tasks for the user.Utility software may need the consent of a user with administrative rights on the computer before executing its functions or being replaced.An operating system and a collection of utility apps are often installed when manufacturers create a computer.Although the user has the option to replace or install other utility apps, this utility software is generally seen as a part of the operating system. A computer's databases, directories, and files are all backed up using backup utility software.Often, it functions by making an exact copy of the entire disk. Using the computer's backup utility program, the user may be able to retrieve lost data if it happens to them.



To know more click here-
https://brainly.com/question/2909686

#SPJ2

Why is it important to keep software up to date? Select 3 answers that are correct.
A.) fix bugs

B.) download malware

C.) add features

D. ) limit personal use

E. ) patch security holes

Answers

Answer:

It is important to keep your software up because (A) it fixes bugs, (C) adds features, and (E), it patches your security holes.

To put it in short, your answers is A, C, and E.

I hope this helped at all.

lol easy dont need to use brainly its a,c,d

Ms. Miller recently performed a little experiment for her photography class. She dressed a model in a generic outfit and asked two different photographers to photograph her using the same set and lighting. The students observed that the images produced by each photographer were vastly different likely due to artistry; however, one student mentioned that something else might be at play here. What other factor MOST LIKELY caused these images to turn out so differently?

A.
the instructions Ms. Miller gave to each photographer

B.
the communication and feelings each photographer was able to evoke in the model

C.
the level of education and how much experience each photographer has

D.
time and stress levels of each photographer

Answers

Answer:

C. the level of education and how much experience each photographer has.

Despite some having degrees in film, visual art, or design, the majority of photographers are self-taught. As you earn more and more XP, you can advance through the eight levels of photography

What experience do you need to be a photographer?

There are no formal educational qualifications to become a professional photographer. Despite some having degrees in film, visual art, or design, the majority of photographers are self-taught. Many photojournalists hold journalism degrees or have a wealth of practical experience.

As you earn more and more XP, you can advance through the eight levels of photography. According to the video, the phases you'll move through as you level up are as follows: (0) Just Starting, (1) Keyboard Photographer, (2) Gear Geek, (3) The Student, (4) The Casual Snapper, (5) Hobbyist, (6) Online Legend, and (7) The Pro.

Therefore, the correct answer is option C. the level of education and how much experience each photographer has

To learn more about the level of education refer to:

https://brainly.com/question/19475756

#SPJ2

By using ONLY the language of C++,

How many times the loop will be executed?

int odd = 1, sum = 2, count = 9;

do {

sum = sum + odd;

odd = odd + 2;

cout >> sum

count = count + 1;

}

while (count < 10)
}


MCQs:

A) 1
B) 2
c) 0
d) 3

Answers

Answer:

0

Explanation:

Answer: Syntax error. So it would be 0.

After correcting syntax it would be 1

Explanation:

Braces never started in beginning but put in the end after while loop

안녕 또 나야 난 너에게 미래의 메시지를 전하러 왔어 01100011 01101111 01101101 01101111 00100000 01111001 00100000 01101100 01101111 00100000 01101101 01100101 01101110 01110011 01101001 01101111 01101110 01100101 00100000 01101100 01100101 01110011 00100000 01110100 01110010 01101001 01100111 01101111 00100000 01110101 01101110 00100000 01101101 01100101 01101110 01110011 01100001 01101010 01100101 00100000 01100100 01100101 01101100 00100000 01100110 01110101 01110100 01110101 01110010 01101111 00100000 01110110 01100101 01101110 01100111 01101111 00100000 01100100 01100101 01101100 00100000 01100001 11000011 10110001 01101111 00100000 00110010 00110000 00110011 00110000 00100000 01110011 01101111 01101100 01101111 00100000 01110110 01101001 01101110 01100101 00100000 01100001 00100000 01100001 01100100 01110110 01100101 01110010 01110100 01101001 01110010 01101100 01100101 01110011 00100000 01110011 01101111 01100010 01110010 01100101 00100000 01101100 01100001 00100000 01100100 01100101 01110110 01100001 01110011 01110100 01100001 01100011 01101001 01101111 01101110 00100000 01100100 01100101 01101100 00100000 01110000 01101100 01100001 01101110 01100101 01110100 01100001 00100000 01110011 01101111 01100010 01110010 00100000 01100101 01101100 00100000 01100011 01101111 01110110 01101001 01100100 00100000 00110001 00111001 00100000 01110011 01100101 00100000 01100001 01100011 01100001 01100010 01101111 00100000 01100101 01101110 00100000 01100101 01101100 00100000 01100001 11000011 10110001 01101111 00100000 00110010 00110000 00110010 00110011 00100000 01100101 01110011 01100101 00100000 01100101 01110011 00100000 01101101 01101001 00100000 01101101 01100101 01101110 01110011 01100001 01101010 01100101 00100000 01110000 01100001 01111010

Answers

Answer:

i think its 01100001

Explanation:

미래에서 온 메시지를 전하려는 경우 코로나가 종료되면 알려주십시오.

Describe three things (risks) that can cause damage to computer hardware​

Answers

Phishing,computer viruses,malware/ransomeware,rogue security software,denial of service attacks etc

We have noted that there can be no input queuing if the switching fabric is n times faster than the input line rates, assuming n input lines all have the same rate. Explain why this is the case.

Answers

Consider the given data:

Assume packet length=n

Maximum queuing delay= (n–1)D

All packets are of the same length, n packets arrive at the same time to the n input ports, and all n packets want to be forwarded to different output ports.

a)  The maximum delay for a packet for the memory = (n-1)D

b)  The maximum delay for a packet for the bus = (n-1)D

c)  The maximum delay for a packet for the crossbar switching fabrics=  0

When replacing a defective switch, what is a necessary characteristic of the new switch?
Select one:
a. Greater number of poles and throws than the original switch
O b. The same number of positions as the original switch
C. Identical cover plate as the original switch
O d. Greater current ratings than the original switch

Answers

Answer:

Socratic app

Explanation:

it will help you

Software which fulfills the requirement of a particular company is known as ________ software.​

Answers

Answer:

Customized software

Explanation:

Software which fulfills the requirement of a particular company is known as Customized software.​

Please mark as brainliest

the input nums is supposed to be an array of unique integers ranging from 1 ro nums.length (inclusive). However, there is a mistake: one of the numbers in the array is replicated, which means another number is missing. find and return he sum of the duplicate number and the missing number

Answers

The program which returns the sum of the duplicate and missing number is written in python 3 thus ;

def dup(nums):

#initialize a function which takes In a list of values as argument.

nums.sort()

#sort the values in ascending order

for i in range(1, len(nums)):

#iterate through the list

if nums[i] == nums[i-1]:

#Check for repeated values

return nums[i] + nums[i]-1

#return the sum of the repeated values - 1

nums = [4,3,3,1]

print(dup(nums))

A sample run of the program is attached.

Learn more : https://brainly.com/question/25574075

why are computers refered to as
mordern technology​

Answers

computer are called modern technology because in like earlier generations they didn’t have computes.

CASE STUDY # 1
WELCOME TO MOBILE BANKING
Discussion Questions
1. Would you be comfortable using mobile banking for transferring funds, paying bills, and checking
balances? Why or why not?
2. How might mobile banking attract the attention of hackers? Are the precautions discussed in this
article enough to keep hackers at bay?

Answers

Answer:

1 would you be comfortalbe

Other Questions
Free trade areas that have a common external trade policy, but don't allow for the free movement of people and capital are called The three factors that evaluate the level of creativity in the decision-making process are fluency, flexibility, and originality. True False For Premack, a reinforcing stimulus is any relatively high-probability behavior. A/an ________ stimulus would then be any relatively low-probability behavior. PLZ HELP ME ANSWER THESE TWO QUESTIONS Write an equation of the line in slope-intercept form. Jennifer installs solar panels. Today it takes her 8hours to install 2 solar panels. She plans to installsolar panels for 40 hours next week. Solve the Quadratic Solve for x. Write in simplified radical form.2x^2 + 3x 20 = 0Solution 1:Solution 2: Help help help help help help Which of the following numbers is between - 3/4 and 5/8 ? Hello, can you help me? __________________-5 sentences with imperative mood verb (bold verb)1:2:3:4:5: ________________________(I give a crown if you answer well) Issue: what is the policy in question? MCQA body of mass 5kg is pushed for distance x with accleration a. Then workdone against static friction is1.ma*X cosB2.ma*X sinB3.zero 4.ma/X Write the expression 44(47)(4) using a single exponent. 428 44 43 42. sebuah mobil dalam 12 km menghabiskan bensin 1 liter. apa bila mobil menempuh jarak 96 km ,maka bensin yang di butuh kan adalah__liter Have you ever written a program, saved a version, then later saved a different version and wish you could tell what changed The nurse teaches a client with type 2 diabetes mellitus about diabetic retinopathy. Which statement is made by the client would indicate to the nurse that teaching was effective Carina's job is to find new customers for her company's telecommunication services. She encourages existing customers to add more services and finds customers who are completely new to the company. Carina would best be classified as a(n) For their group project, Mia and Ichiro researchedhybrid cars that combine gas and an electric motor.Awesome, so it consumes less fuel and emits lessCO2 into the environment, Ichiro said.While hybrid cars are better for the environment,Im seeing that some people are hesitant to buy onebecause of the higher purchase price, Mia noted.They found the graph to the right, which shows themiles per gallon (MPG) and the annual tons of GHGproduced by 8 different types of cars. If each gallonof gasoline burned created 20 pounds of GHG, andthe price of gasoline was $2.454 per gallon, howmuch money was saved annually on gas by the carthat got 40 miles per gallon when compared to thecar that got 20 miles per gallon? Provide your answerto the hundredths place. Note: 1 ton = 2,000 pounds. This is from Pg.2 -7th Grade math problem. How was important information passed from one generation to the next in ancient West Africa?A. through scrollsB. through oral historiesC. through hieroglyphicsD. through basket weaving The primary role of coenzyme A in aerobic respiration is to A. speed up the citric acid cycle. B. transport electrons to FAD C. kick off the transport electron cascade. D. activate acetyl CoA and other molecules in the citric acid cycle.