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
Alex787 [66]
3 years ago
9

NOTE: in mathematics, division by zero is undefined. So, in C++, division by zero is always an error. Given a int variable named

callsReceived and another int variable named operatorsOnCall write the necessary code to read values into callsReceived and operatorsOnCall and print out the number of calls received per operator (integer division with truncation will do). HOWEVER: if any value read in is not valid input, just print the message "INVALID".
Computers and Technology
1 answer:
AleksandrR [38]3 years ago
8 0

Answer:

#include <iostream>

using namespace std;

int main()

{  

   int callsReceived, operatorsOnCall;

   cout<<"Enter the number of received calls:";

   cin >> callsReceived;

   cout<<"Enter the number of operators on calls:";

   cin >> operatorsOnCall;

   

   if(operatorsOnCall !=0)

       cout<< "Number of calls received per operator is: "<< callsReceived/callsReceived;

   else

       cout<<"INVALID";

   return 0;

}

Explanation:

Declare the variables

Ask the user for the inputs

Check if the second number is 0 or not. If it is not, calculate the number of calls received per operator - divide callsReceived by callsReceived, and print the result

Otherwise, print INVALID

You might be interested in
When the atmosphere has too much carbon dioxide in it, the oceans absorb some of it to achieve a new balance. This is an example
horsena [70]
The answer is B. 
A geochemical cycle. 
8 0
4 years ago
Read 2 more answers
With the range E2:E30 selected, create a new conditional formatting rule that uses a formula to apply yellow fill and bold font
Nana76 [90]

Answer:

Attached are the excel screenshots

3 0
4 years ago
Fourlotts Corp. provide integrated services that include storing manufactured goods, packaging, and delivering it to the dealers
PilotLPTM [1.2K]

Answer:

The answer is "Logistics provider of third parties".

Explanation:

In the given statement some information is missing, that is options, which can be described as follows:

a.Center for Allocation

b. Logistics provider of third parties

c. supplier

d. Manufacturer with contracts

The company provides contracted logistics facilities provided by any part of the sourcing and distribution operations. In the 3PL will have a specific definition for any service agreement requiring processing or shipment of goods, and certain choices were wrong, which can be explained as follows:

  • In option a, It includes products and services.
  • In option b, It is a person that provides the products.
  • In option d, It enables the customer to get off an incredibly important project, that saves a lot of cash.

7 0
3 years ago
Please tell fast plzzzzzzz​
padilas [110]

Answer:

True

Explanation:

I just check on my computer

5 0
3 years ago
Read 2 more answers
The while loop has two important parts: (1) a boolean expression that is tested for a true or false value, and (2) a statement o
DaniilM [7]

Answer:

True is the correct answer for the above question.

Explanation:

  • The loop is used to repeat some specifies tasks for a finite amount of time. It is of three types:- For, Do-while and While.
  • The While Loop is a Loop that has two things:- 1. The condition is used to decide that the loop statement executes or not and 2. Some line of the statement which holds the operation which helps the condition to be false after a finite iteration of the loop, so the loop executes finite times.
  • The question-statement also wants to state which is described above. Hence the Question statement is a true statement.
4 0
3 years ago
Read 2 more answers
Other questions:
  • A written guarantee to fix or replace an item is called a _____.
    5·2 answers
  • How do you access the dark web? What are the negatives of doing this?
    14·1 answer
  • A raised dot (ú) shows where the enter key was pressed. true or false.
    13·1 answer
  • What FAA-approved document gives the leveling means to be used when weighing an aircraft?
    5·1 answer
  • Which of the following things should you do first when planning your career?
    15·2 answers
  • What is the default file extension for a document created in Word 2016​
    13·1 answer
  • Which of the following describes the operating system?
    10·1 answer
  • Modify the statistics program from this chapter so that client programshave more flexibility in computing the mean and/ or stand
    8·1 answer
  • 1. What are the advantages and disadvantages of the digital darkroom as compared to a regular darkroom?
    15·1 answer
  • When you hear the word “stress” what does it mean to you? How does stress affect you and what do you do to cope with stress
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!