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

Your patient is wearing elastic stockings as ordered by the physician post-op. when assessing your patient, which action should you take concerning the stocking
Is this statement true or false?   Many early American folk art landscapes showed scenes of farms.
Fill in the blanks to write the number 9.175 in expanded form: 9.175 = 9 + 0.1 + blank + blank
A client is taking fluphenazine. the nurse understands that teaching and discharge instructions are understood when the client states:
Help pls I'm rlly bad at math
Suki's salary is $1,200 per month. What is her yearly salary?
Part B: Make tables to find the solution to 4x = 2x+2. Take the integer values of x between 0 and 3
In the short run, aggregate demand in a country will increase if there is an increase in the ____. question 9 options: a.prices of resources in the country. b.l
In which species does sulfur have the highest oxidation number? s8 (elemental form of sulfur) h2s so2 h2so3 k2so4?
The type of material that will easily accept the flow of electric current is called