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

the blue color of Neptune and Uranus is due to which of the following?
1. The table shows Angelica’s scarf sales, in dollars, for the first 16 wk she was in business. Time (wk) Sales ($) 1 190 2 220 3 200 4 330 5 300 6 410 7 450 8
I don't get this at all please help
Which section of a sonata-allegro movement used small pieces of the main theme in many different keys?
Write one number that is a factor of 13
Methods scientists use to determine if a change is chemical or physical?
All of the following are part of the carbon cycle except
HELP?? A rectangular floor space in a community center is 40 ft long and 32 ft wide. A volunteer is setting up chairs on the floor space. Each chair needs an ar
does shingles reproduce via lytic or lysogenic?
They laughed at his wild excess of speech, of feeling, and of gesture. They were silent before the maniac fury of his sprees, which occurred almost punctually e