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

Balance equation for. _Mg + _H3(PO4) --_Mg3(PO4)2+ _H2
Balance equation for. _Mg + _H3(PO4) --_Mg3(PO4)2+ _H2
Question 17 (5 points) Determine the value of x in the isosceles trapezoid. 2x х x = 60° x= 65° x= 180° *= 90°
what are chloro-fluoro carbons ??explain !!! ​
it takes 5 girls to use 8 days to clean up a room. find the number of days that will be used by. 15 girls. 10 girls. 20 girls​
Paragraph 1 A reason I believe in teen curfews is my concern for teens' safety. When teens stay out late, they must either drive or walk home when they are tire
what are condition for formation of electrovalent bond​
How old is the sun?​
−3x−6+(−1) need answer pls
kadar keterlarutan. Semakin tinggi suhu pelarut, semakin tin99 Isi padu pelarut Semakin besar/banyak isipadu pelarut, semakin ______Kadar keterlarutan​