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
solong [7]
3 years ago
5

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 bool variable isPremiumCustomer and the int variable nbooksPurchased .I triedif (isPremiumCustomer==true){if (nbooksPurchased >= 5){freeBooks==1;{if (nbooksPurchased >= 8){freeBooks==2;}}}}else if (isPremiumCustomer==false){if (nbooksPurchased >= 7){freeBooks==1;{if (nbooksPurchased >= 12){freeBooks==2;}}}}but the system said:Remarks: ? At ExecutionProblems Detected: ? The value of freeBooks is incorrect. ? You did not assign a value to freeBooksand this one ......Write a loop that reads strings from standard input where the string is either "duck" or "goose". The loop terminates when "goose" is read in. After the loop, your code should print out the number of "duck" strings that were read.
Computers and Technology
1 answer:
docker41 [41]3 years ago
8 0

Answer:

8/9

Explanation:

i remember this question on my daughters book

You might be interested in
In the story, what are the song pauses a metaphor for?
-BARSIC- [3]

Answer:

D. The need to slow down more often in life.

4 0
3 years ago
Please read !!!
prisoha [69]
Don’t stress. You’re no failure if you believe in yourself. Have some faith. Don’t give up and live your life to the fullest. Take care and stay safe!! :)
3 0
3 years ago
A college asks you to write about a novel that is meaningful to you. What should you include in this essay?
Marina CMI [18]

The answer is C because they want you to compare it your or others lives.

4 0
3 years ago
Which technology allows multiple vms to have access to the internet? virtual machine manager hypervisor virtual pbx virtual swit
Elina [12.6K]

A virtual switch is special software that enables VMs to communicate with each other, without going outside of our system.

Virtual switches are a key technology that allows multiple virtual machines (VMs) to have access to the internet. By creating a virtual switch, you can essentially create a "mini-internet" for your VMs, allowing them to communicate with each other and with the outside world.

There are many benefits to using virtual switches, including improved security and performance. By isolating your VMs from the physical network, you can better protect them from attacks. And because virtual switches only forward traffic that is destined for their VMs, they can help improve network performance.

If you're looking to create a virtual switch, there are a few things you'll need. First, you'll need a physical server with multiple network adapters.

You'll also need a virtualization platform, such as VMware vSphere, to create and manage your virtual switches. Finally, you'll need a switch management tool, such as the Cisco Nexus 1000V, to help you configure and manage your virtual switches.

Creating a virtual switch is a great way to improve the security and performance of your virtual machines. By using virtual switches, you can create a safe and efficient network for your VMs.

Learn more on virtual switches here:

brainly.com/question/27980989

#SPJ4

7 0
1 year ago
Abby wants to simply share a snapshot of her calendar with another user. Which option should she choose to achieve this
Papessa [141]

Answer:

Screenshot

Explanation:

Just a guess

8 0
3 years ago
Read 2 more answers
Other questions:
  • Is frequency measured in henry.
    14·1 answer
  • RDBMS stands for_________________
    12·1 answer
  • What mobile operating system below requires all applications to be reviewed and approved before they can be made available in th
    7·1 answer
  • How dependent are we on technology? ​
    15·2 answers
  • Match the following.
    8·1 answer
  • In Scratch, you have to choose backdrops from a limited number in the Scratch image library.
    15·1 answer
  • In this exercise, you are asking the user to set a alpha numeric password for any website. Put some conditions.
    8·1 answer
  • 1. What are the advantages and disadvantages of technology in communication?
    9·2 answers
  • In 1868 the qwerty keyboard was patented by this man
    5·1 answer
  • assuming the default gateway is connected to the internet, what type of internet access would this server have?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!