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

What is the best choice for the equation of the line of best fit shown?
Why is Hades' warning important to the development ofthe theme?​
What Roman contributions still influence our lives today?
Why do we divide fractions?
Hi i have a science project i have to ask 50 people that when they see blue,white green turquoise yellow orange and red what do they feel for each color very hu
what makes the sahara a desert
According to the four Nobel truths how can we end suffering?
A platinum resistance thermometer has a resistance of 11.50 ohms at 0 oC and 17.35 ohms at 100 oC. Assuming that the resistance changes uniformly with temperatu
Use the formula for continuous compounding to compute the balance in the account after​ 1, 5, and 20 years.​ Also, find the APY for the account.A ​$13,000 depos
URGENT AND TIMED, WILL MARK BRAINLIEST!!! Which graph represents the following piecewise defined function?