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

Given the inequalities y > 5x-8 and y >3x+4, find the point that satisfies neither inequalities
all fractions between 0 and 1/4
What is the difference between displacement and double displacement reactions?Write equations for these reactions?
Question: 35/8 ( write as mixed number ) Please help me very very quickly!!!!!!!!!!!!!!!!!!!
Any number that is divisible by 3 is also divisible by 9.Find a counterexample to show that the conjecture is false.18274548
name 2 sound devices and what type they are from the song Where Is The Love by the Black Eyed Peas.
I = {1, 2} List all possible subsets of the given set.
What is a Mandala Autobiography?
A construction contractor is purchasing granite tiles for a new kitchen floor. Each tile costs $5 and he wants to spend less than $1,500. The size of each tile
At the school carnival, Carmen sold 3 times as many hot dogs as Shawn. The two of them sold 152 hot dogs altogether. How many hot dogs did Carmen sell? 51382111