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
Katen [24]
3 years ago
9

What is the output from main (below) after the following function is called. void calculateCost(int count, double& subTotal,

double& taxCost) // definition { if ( count < 10) subTotal = count * 0.50; else subTotal = count * 0.20; taxCost = 0.1 * subTotal; } int main() { double tax = 0.0, subTotal = 0.0; calculateCost(15, subTotal, tax); // function call cout << "The cost for 15 items is " << subTotal << ", and the tax for "<< subTotal << " is " << tax << endl; return 0; }
Computers and Technology
1 answer:
GalinKa [24]3 years ago
7 0

Answer:

     

Explanation:

You might be interested in
E whether True or False.
Natasha_Volkova [10]

Answer:

Learn vocabulary, terms, and more with flashcards, games, and other study ... covers a large geographical area and is made up of many smaller networks. ... you share the cable infrastructure with your neighbors ... do you need if you want to connect two network segments together such as a ... the twists reduce crosstalk.Explanation:

5 0
3 years ago
What are some industries of aerodynamics and hydrodynamics? explain each one in detail.
maria [59]
Aerodynamic- Wind turbine, computational fluid dynamics, and Wind power

Hydrodynamics- Computational Fluid Dynamics, Hydraulics, and Microfluidics
3 0
2 years ago
Read 2 more answers
Which part of the software hierarchy is working behind the scenes allowing programs to perform tasks?
Svetradugi [14.3K]
The right answer for the question that is being asked and shown above is that: "Currently dispatched threads." The  part of the software hierarchy is working behind the scenes allowing programs to perform tasks is that <span>Currently dispatched threads</span>
5 0
3 years ago
Which of the following projections is typically used for navigation?
kondor19780726 [428]
D. orthographic is the answer

5 0
4 years ago
Read 2 more answers
Help, I'm a beginner in coding! I have to write a quiz. You don't have to get all fancy and stuff, since I'm a beginner lol. I w
Anuta_ua [19.1K]

name = input("What's your name? ")

print("Hello " + name + ", welcome to my quiz!")

score = 0

di = {"qustion1": "answer1", "qustion2": "answer2", "qustion3": "answer3", "qustion4": "answer4", "qustion5": "answer5", "qustion6": "answer6",

     "qustion7": "answer7", "qustion8": "answer8", "qustion9": "answer9", "qustion10": "answer10"}

for x in di:

   user_answer = input(x+" ")

   if user_answer == di[x]:

       print("That's correct!")

       score += 1

   else:

       print("The correct answer is " + str(di[x]))

print("You got "+str(score)+" out of 10!")

I iterated through a dictionary with the questions and answers as the keys and values respectively. I hope this helps!

6 0
3 years ago
Other questions:
  • You're trying to decide which disk technology to use on your new server. the server will be in heavy use around the clock every
    10·1 answer
  • When should you use the Reply All function when replying to an email
    10·2 answers
  • Full form of SMPT???
    15·1 answer
  • How do i convert videos on the computer
    10·1 answer
  • What is the gauge manifold made of
    14·1 answer
  • How are envelopes and letterheads different
    7·1 answer
  • I need help with workplace safety systems please help
    10·1 answer
  • Which tab on the Ribbon contains the command to add a new, blank page to a publication?
    6·1 answer
  • In python, sorry if it’s blurry
    13·2 answers
  • Which option identifies what the computer will yield in the following scenario?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!