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

Descibe the mothod of solving problems with numbers in standard form ?? I have 5 MIN HELLLLLLLLLPPPPP
I need the answers for these questions
Find the slope between (-3,5) and (2,15).
hi! giving away brainliest. not to bots
Find the domain and range of the following function: f:x (3x-9)/(x²-x-2)
Hellllp meeeee pleaseeee
How was the Continental army able to win the war for independence from Great Britain?
Question 17 (1 point) Is the following a fixed or a variable expense? Natural Gas Bill Question 17 options: A) Fixed Expense B) Variable Expense
Fill in the blank to complete the sentence. A square with area 49 cm² has perimeter cm ok 2 Asquare with area 49 cm? has perimeter (cm] (Type a whole number.) ​
Where is the Rio Grande River? 1 . in Canada 2 . in the Midwest region of the United States 3 . at the border between the United States and Mexico 4 . within th