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 roles do proteins play in organisms?
What is the value of three in 34,525
Factor the trinomial: 5x^2-2x-7
How do you solve this problem 9a+10(6a-1)
What is 30,944 rounded to the nearest ten thousands
There are 35 boys in sixth grade. The number of girls in the sixth grade is 42. Lonnie says that means the ratio of number of boys in the sixth grade to number
rebeldes de tejas in english
Lee has a jar of 100 pennies. She adds groups of 10 pennies to the jar . She adds 5 groups. What numbers does she say?
A pitcher on a baseball team has pitched 98 2/3 innings. What is the number of innings written as a decimal?
Ronald Reagan majored in _____________ and ___________________ while in college.