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

Harriet was killed by her former master? True False
How often must a notice of information practices be given to a policyholder? A) Every 6 months B) Annually C) Biennially D) Only upon request
Find the surface area of a cylinder with a base diameter of 12 m and a height of 7 m. Use the value 3.14 for л, and do not do any rounding. Be sure to include t
a poem of a wife insulting his husband because he said she doesn't look good today (needs to be very wordy and in formal and shakesperean format) MUCH APPREACI
How often must a notice of information practices be given to a policyholder? A) Every 6 months B) Annually C) Biennially D) Only upon request
HELP! i need this. its LATE!
C2H4 + O2 --> CO2 + H20 (balance first) If 9.7 mol of CO2 are produced, how many moles of O2 were reacted?
How is the “SSS” for similar triangles different from triangles congruence
Find the area. Simplify your answer. 2x–9 2x+6
A publicly-held company has a policy limiting financial donations to one religious group. a. Discriminatory practice b. Corporate philanthropy c. Ethical invest