praveen2582 praveen2582
  • 04-03-2020
  • Computers and Technology
contestada

Write a complete program that declares an integer variable, reads a value from the keyboard into that variable, and writes to standard output the square of the variable's value.

Respuesta :

kendrich
kendrich kendrich
  • 09-03-2020

Answer:

#include <iostream>

using namespace std;

int main ()

{

int num;

cin>>num;

cout << num<< " " << 2 num << " " << numnum;

return 0;

}

Explanation:

See answer

Answer Link

Otras preguntas

-18 = -3x + 6 can anybody help me solve this problem
Help please Which is the equation of a trend line that passes through the points (3, 95) and (11, 12)? Round values to the nearest ten-thousandths. y = negative
Calculate the number of molecules present in 2.50 mol H2S? A. 1.51 x 10^24 molecules B. 2.50 x 10^23 molecules C. 1.5 x 10^23 molecules
Find out the Time Zone for UAE and its neighboring countries. Express them as positive or negative rational numbers with reference to Greenwich Mean Time. Note
What are the domain and range of the function? f(x)=−4x√x
What is computer Network?​
11. By what process do streams and rivers move material? O infiltration O mass wasting O erosion O weathering
There are 8 marbles in a bag, each with a different color. How many different groups of 4 marbles can we select?
Which of the following best describes China’s status during the 1980s?
Think of two methods used to improve productivity in business. Discuss your reasons for choosing these methods