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
Aleksandr [31]
3 years ago
9

Convert the following pseudi code to C++ code. BE sure to define the apprpriat evariables.

Computers and Technology
1 answer:
KATRIN_1 [288]3 years ago
8 0

Answer:

Following are the C++ code

int speed=20; //  Store 20 in the speed varaible.

int time=10; //Store 10 in the time variable.

int distance = speed *time; // multiply by speed *time

cout<<distance; // display the value of distance

Explanation:

Following are the program in C++ language :

#include <iostream> // header file

using namespace std; // namespace

int main()

{

   int speed=20; //  Store 20 in the speed varaible.

int time=10; //Store 10 in the time variable.

int distance = speed *time; // multiply by speed *time

cout<<distance; // display the value of distance

   return 0;

}

Output:20

Explanation:

Following are explanation of following code

  • Declared a vaiable of type int called "speed" and store 20 on it.
  • Declared a vaiable of type int called "time" and store 10 on it.
  • multiply by speed into the time and store into the distance variable.
  • finally print the "display" value
You might be interested in
Brian gathers data from his classmates about the computers they own such as the type of operating system, the amount of memory,
Stells [14]

Incomplete question. The Options read;

A. The year purchased

B. Brian's classmates

C. The amount of memory

D. The type of operating system

Answer:

<u>B. Brian's classmates</u>

Explanation:

<em>Remember,</em> the question is concerned about <em>"the individuals"</em> in the data set, <u>so the year they purchased their computer, neither is the amount of memory of the computer and the type of operating system can be classified as individuals in the data set.</u>

Hence, we can correctly say, only Brian's classmates are the individuals in this data set.

4 0
3 years ago
In two-dimensional arrays, the _____________ is always listed second.
Sav [38]

Answer:

row

Explanation:

3 0
2 years ago
2 ways to assign a value to a variable
Art [367]
Assigning values at run time
Assigning values as command line argument, before execution of the program

4 0
3 years ago
When you think of computers, I want you to think:
jekas [21]

Answer:

Explanation:

When I think about computers, I can understand about the software and the hardware, we can touch the hardware, but the software don't because is only data stored in the hardware, we can interact with the stored data using the hardware, we can complete a system with data, software, hardware, and people, people try to learn about software because it is better paid than fix a hardware.

5 0
3 years ago
What term is used to describe the discovery, collection, and analysis of evidence found on computers and networks?
Gnoma [55]
Forensics.

--------------------------------------
5 0
3 years ago
Other questions:
  • How many megabytes of data can a factory made audio cd hold?
    13·1 answer
  • Carrie works on a help desk and is assigned a ticket that was automatically generated by a server because of an error. The error
    14·2 answers
  • Microsoft windows malicious software removal tool fake or real
    8·1 answer
  • You are given the task of reading in n numbers and then printing them out in sorted order. Suppose you have access to a balanced
    12·1 answer
  • The physical part or components of a computer system called​
    5·2 answers
  • Can maybe someone play with me on Over-watch on the Xbox?
    8·1 answer
  • To cope with the uncertainty about how their pages will be viewed, many web page designers opt to use _________ units, which are
    13·1 answer
  • What is the value of the variable result after these lines of code are executed? &gt;&gt;&gt; a = 5 &gt;&gt;&gt; b = 2 &gt;&gt;&
    8·2 answers
  • Which of the following IS an operating system? *<br> Reddit<br> Ubuntu<br> Office 365<br> Mac Pro
    9·1 answer
  • Which is true for comments? Group of answer choices The compiler does not generate machine code for comments. The compiler conve
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!