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
wolverine [178]
3 years ago
11

A drink costs 2 dollars. A taco costs 5 dollars. Given the number of each, compute total cost and assign to totalCost. Ex: 2 dri

nks and 3 tacos yields totalCost of 19.
int drinkCount = 4, tacoCount = 6;
// std::cin>>drinks >> tacos; // you may read values from input stream
int drinkCost = 2, tacoCost = 4;
int totalCost = drinkCount * drinkCost + tacoCount * tacoCost ;
// std::cout << totalCost; // you may want print total cost
Computers and Technology
1 answer:
evablogger [386]3 years ago
3 0

Answer:

OKKKkkkkkkayyyy

You might be interested in
You can use a(n) ____ to visually separate related controls from other controls on the form.
maksim [4K]

Answer:

The correct answer to the following question will be Group Box.

Explanation:

Group Box:

  • A type container that contains many types of controls that are usually related to each other in the form.
  • It usually provides the identified grouping for other controls.
  • used for the subdivision of the forms.
  • Separation of the controls can be done with the help of grouping by group box.

5 0
3 years ago
Edhesive coding practice 3.4​
allsm [11]

I'm sorry i have to go to sleep.. Can we continue tm?

In the morning

8 0
4 years ago
Read 2 more answers
The graph of a function f x is shown below what is the domain of f x​
patriot [66]
Was there supposed to be a picture here?
4 0
3 years ago
Rochelle knows that the music on her computer is stored in the form of numbers. Which hardware component processes these numbers
QveST [7]

Answer:

ALU: arithmetic logic unit

Explanation:

Hope this helps i dont know that much about thus unit but i am pretty sure im right

4 0
3 years ago
You receive a check on which the numerical dollar amount does not match the dollar amount written in words.
givi [52]
Errrrrrrrrrrrr....... you can’t accept the cheque then, it’s wrong morally and legally. The cheque will bounce because you won’t accept it
8 0
4 years ago
Other questions:
  • To print a budget:________.
    15·1 answer
  • Add the following 2's complement binary numbers. Also express the answer in decimal. a. 01+ 1011b. 11+ 01010101c. 0101+ 110d. 01
    8·1 answer
  • Can someone please answer this for me I will answer one of yours.
    13·1 answer
  • Create a program asks a user for an odd positive integer. If the user gives and even number or a number that is negative it prom
    7·1 answer
  • Without a well-designed, accurate database, executives, managers, and others do not have access to the ____________________ they
    15·1 answer
  • You are contacted by a project organizer for a university computer science fair. The project organizer asks you to hold a forum
    10·1 answer
  • Francis has created a new program. However, Francis used some objects from another program to run methods in the current program
    14·2 answers
  • Write a c++ program to print even numbers from 1 to 20​
    15·1 answer
  • The key uniquely identifies each record
    9·1 answer
  • What is a worm?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!