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
yawa3891 [41]
3 years ago
9

Assume that two int constants,FIRST_YEAR and LAST_YEAR have already been declared and initialized with year values (like 2009, 2

014), along with a double variable oil that has been initialized with the number of barrels of oil consumed in Canada in the year given by FIRST_YEAR.
Computers and Technology
1 answer:
levacccp [35]3 years ago
8 0

Answer:

#include <iostream>

using namespace std;

int main()

{

int count;

double oil=10.88;

int FIRST_YEAR=2009,LAST_YEAR=2014;

count = FIRST_YEAR;

do

{

cout << count << ": " << oil << endl;

oil *= 1.20;

count++;

} while ( count <= LAST_YEAR );

return 0;

}

Explanation:

  • Declare the required variables.
  • Use a do-while loop that runs from first year to last year .
  • Display count of oil .
  • Increment oil by 20%  and count by 1.
You might be interested in
The term "stop" is used to refer to a change in aperture. If I change my f stop setting from f/8 to f/11, it's one-stop up which
labwork [276]
If you set your f/8 to f/11 it would be true
8 0
3 years ago
During an engine's intake stage, what passages inside the cylinder head of a gasoline powered engine must the incoming air-and-f
kow [346]
The intake ports must be open to allow fuel and oxygen to enter cylinder, then closes during compression. Your answer is A.
3 0
4 years ago
In Tynker, it is not possible to create a/an __________.
xz_007 [3.2K]

Answer:

yes

Explanation:

7 0
3 years ago
Read 2 more answers
What is the value of six sigma ? How dose it relate to agile management
Genrish500 [490]
For an agile team, Six Sigma would provide them with a structured approach for empirical problem solving.
8 0
2 years ago
How many programs can you run in Windows simultaneously
jenyasd209 [6]

Answer:

We can run multiple programs on windows simultaneously. There is no specific limit to run the programs.

Explanation:

We can run multiple application at the same time without having any limit.

<u>Microprocessor</u>

Microprocessor is the essential part of the computer. It is used to perform arithmetic and logic operations. The microprocessors are multitasking, its means that they can perform multiple tasks at the same time. It gives breaks all tasks into small portions and gives equal time to all process portions equally.

<u>Windows</u>

There is scheduler in windows that schedule all tasks for processing on priority basis. This will help computer to perform multiple task at the same time.

As computers have microprocessors that are used to process multiple application at the same time.

7 0
4 years ago
Other questions:
  • Convert 1 pound into newtons
    8·2 answers
  • How do you choose the amount of points you give a person here on this brainless app...??.
    11·2 answers
  • What is the difference between a key and a superkey?
    10·1 answer
  • The ________ is responsible for the Internet's domain name system and the allocation of IP addresses.
    12·1 answer
  • The easiest way to run a web page that’s already in your browser after you’ve made changes to the code for the page is to
    6·1 answer
  • It is an electronic device that capable of accessing accepting processing product and storing data​
    13·1 answer
  • A network administrator determines who may access network resources by assigning users
    10·1 answer
  • Which search phrase is the most effective to find out about the most popular pizza chains worldwide in 2019?
    14·1 answer
  • Some people worry that there won’t be enough jobs in the future because computers will be able to do everything better than peop
    7·2 answers
  • In java complete a program that takes a weight in kilograms as input, converts the weight to pounds, and then outputs the weight
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!