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

This is about dealing with abuse so if you not comfy about the subject please dont press it thank you plus i do kinda need help on the question.
what do you mean by tele surgery​
NEED HELP ASAP! objective functions
Pleaseeeeeeeeee heellllloppppp
Your parents have a credit card with a balance of $3,287.90 at an interest rate of 14.5% APR. They pay $1,200.00 each month on the due date until the card is pa
Please help with this real quick, its in attached image..
Which of these describes “Al”?
when i see "The quotient of" what I do
Who was Albert Pike? Why was he sent to Oklahoma?
Every day, Kathleen‘s burritos stand uses 3/8 of a bag of tortillas. For how many days will 1 1/8 bag of tortillas last.