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
lions [1.4K]
3 years ago
4

Convert the following pseudocode to C++ code. Be sure to define the appropriate variables.

Engineering
1 answer:
vredina [299]3 years ago
6 0

Answer:

// The following program is written in C++ programming language

// Comments are used for explanatory purpose

// Program starts here

#include<iostream>

using namespace std;

int main ()

{

// Declare all Variables

int speed, time, distance;

//a. Store 20 in the speed variable

speed = 20;

// b. Store 10 in the time variable

time = 10;

// c. Multiply speed by time and store the result in the distance variable.

distance = speed * time;

// d. Display the contents of the distance variable.

cout<<distance;

return 0;

}

You might be interested in
Define the Static Balancing.
liubo4ka [24]

Answer: Static Balancing is when a stationary object has the the ability to balance because its core centre of gravity is on the axis of rotation.

8 0
3 years ago
Burn rate can be affected by: A. Variations in chamber pressure B. Variations in initial grain temperature C. Gas flow velocity
Digiron [165]

Answer: D) All of the above

Explanation:

Burn rate can be affected by all of the above reasons as, variation in chamber pressure because the pressure are dependence on the burn rate and temperature variation in initial gain can affect the rate of the chemical reactions and initial gain in the temperature increased the burning rate. As, gas flow velocity also influenced to increasing the burn rate as it flowing parallel to the surface burning. Burn rate is also known as erosive burning because of the variation in flow velocity and chamber pressure.

4 0
4 years ago
A landowner and a contractor entered into a written contract under which the contractor agreed to build a building and pave an a
Leya [2.2K]
The contractor definitely breached the contract
4 0
3 years ago
Although many countries have issues with soil erosion due to deforestation, some of the most serious effects are seen
Tju [1.3M]
Nigeria
According to the FAO, Nigeria has the world's highest deforestation rate of primary forests. It has lost more than half of its primary forest in the last five years.
Please give brainliest
4 0
3 years ago
List three technologies that pose ethical dilemmas?
Setler [38]
Hacking into medical devices
3-D printing
Driverless Zipcars
6 0
3 years ago
Other questions:
  • An assembly line in a modern business compared to 1 from Henry Ford's time is more likely to rely on which of the following unsk
    13·1 answer
  • A piston-cylinder device contains 0.1 [kg] of air at a pressure of 100 [kPa] and a temperature of 400 [K] that undergoes an expa
    14·1 answer
  • What is the standard half-cell potential for the oxidation of methane under acidic conditions? The reaction for methane is as fo
    7·1 answer
  • High strength steels are being used to reduce weight on cars. Explain why using a high strength steel would allow you to reduce
    6·1 answer
  • Durante el segundo trimestre de 2001, Tiger Woods fue el golfista que más dinero ganó en el PGATour. Sus ganancias sumaron un to
    9·1 answer
  • Nbcghjjfujymujgtfutyduyffuoyffff7t
    9·1 answer
  • I need help with this assignment. ​
    15·1 answer
  • Engineers design products or processes to meet desired needs. Your desired need or goal (hopefully) is to graduate with your Bac
    5·1 answer
  • You wish to design a cantilever beam with a square cross section and length L that can support an end load of F without yielding
    12·1 answer
  • What plane is this? and when was it made?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!