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
tensa zangetsu [6.8K]
3 years ago
13

A drink costs 3 dollars. A pizza costs 6 dollars. Given the number of each, compute total cost and assign to totalCost. Ex: 2 dr

inks and 3 pizzas yields totalCost of 24.
let drinkQuantity = 2; // Code tested with values: 2 and 4
let pizzaQuantity = 3; // Code tested with values: 3 and 7
Computers and Technology
1 answer:
steposvetlana [31]3 years ago
5 0

I think it's correct

.

.

.

.

.

.

.

.

.

You might be interested in
A TCP entity opens a connection and uses slow start. Approximately how many round-trip times are required before TCP can send N
DedPeter [7]

Answer:

Round trip times required =  log2N

Explanation:

The round-trip times required before TCP can send N segments using a slow start is log2N. we can arrive at this by looking at the mode of operation of TCP which is  at the 1st time of using a TCP it starts the congestion window as 1 then it  sends an initial segment. When the acknowledgement of the initial segment arrives, TCP increases the congestion window to 2 and then sends 2 segments, When the 2 acknowledgements of the segments sent out arrives, they each increase the congestion window by one, thereby increasing the congestion window to 4 . therefore it takes   log2N round trips before TCP can send N segments

3 0
3 years ago
Objects of the calculator class require no additional information when created. define an object named calc, of type calculator.
Grace [21]

Answer

calculator calc;

Explanation

An object is an instance of a class. And a class is what defines or describes the behavior or the state of the object of its type. When a class is defined no memory is allocated until when an object is created memory is allocated.

4 0
3 years ago
Read 2 more answers
What is the use of comma and semicolon with print statement ?​
Natasha2012 [34]

Answer:

The use of a comma and semicolon with print statement tells the computer that the program or specific line is ending.

Explanation:

So for example, with a python program if you write print("Hello, World"); the semicolon tells the computer that, that command ends at the semicolon.

8 0
3 years ago
HELP QUICK!!!!!!!
iogann1982 [59]

Answer:

Number.

Letter is for columns, Number is for rows.

For example to find the cell on the fifth row, and 1st column, it would be A5.

6 0
2 years ago
Let cell E2 = 100, what is the result of this formula? =NOT(E2<100) *
lukranit [14]

Answer:

True

Explanation:

7 0
3 years ago
Other questions:
  • To include an online picture in a publication, navigate to the _____ tab.
    7·1 answer
  • You can change the color of the value of a cell or the background
    14·2 answers
  • Which two statements give good definitions of financial credit
    8·1 answer
  • Which of the following should you NOT do when using CSS3 properties to create text columns for an article element? a. make the c
    12·2 answers
  • What is a row of data in a database called?<br> Field<br> File<br> Record<br> Title
    10·1 answer
  • Dynamic addressing: __________.
    12·2 answers
  • For risk monitoring, what are some techniques or tools you can implement in each of the seven domains of a typical IT infrastruc
    7·1 answer
  • Weaknesses about ICT Technician
    9·1 answer
  • Busco....................... Novio
    8·2 answers
  • Discuss the core technologies and provide examples of where they exist in society. Discuss how the core technologies are part of
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!