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

Write a summary of Robert Louis Stevenson’s essay ""On the enjoyment of unpleasant places.""
SOMEONE HELP ME PLEASE BECAUSE I NEED IT ASAP!!!!!!! Some doctors recommend that no more than 30% of a person's daily calories come from fats. Following this re
write the equation -8x-1=3x^2+2
Find the quotient: 8,441 ÷ 21 = ________. a. 400 r 12 b. 400 r 20 c. 401 r 12 d. 400 r 20
Why do we experience the changing of the seasons on earth
6t^{2} – 13 when t = 2
Best part about the landlady and why by Roald Dahl
Use what you have learned about managing credit to complete these sentences. Filing for bankruptcy can debt. A major consequence of bankruptcy is that it can
Write two separate formulas using different commands that concatenate " john and "smith" together to form " John Smith"
The focal point of most ads is _____.