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

Jonathan has been on a diet since January 2013. So far, he has been losing weight at a steady rate. Bases on monthly weigh-ins, his weight, w, can be modeled by
1. What is the respiratory structure of a millipede? A. book lungs B. tracheal tube C. gill slits 2. what is the respiratory structure of a spider? A. gills B.
name the four southwestern states where many Mexicans lived originally or settled
what colors are birds are attracted 2
Jonathan has been on a diet since January 2013. So far, he has been losing weight at a steady rate. Bases on monthly weigh-ins, his weight, w, can be modeled by
do you know how to say my in Spanish?
1,352 pounds is what fraction short of a ton? A) 169/250             B) 77/100               C)13/20             D140/223
do you know how to say my in Spanish?
how do u divide 16 by 3/5
Over what period of time would you expect to see large changes in mountains,canyons,and similar features of the earth?