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

Defining congruent triangles
What facts are true for the graph of the function listed below? Please check all that apply. F(x)=2 x 5^x
Can you answer this for me PLEASE!!?
What is the term for a place with its own identity? A. zoning B. streetscape C. character D. structure
A cylinder has a radius of 10 cm and a height of 9 cm. A cone has a radius of 10 cm and a height of 9 cm. Show that the volume of a cylinder is three times the
Helaine graphed the equation 12x – 4y = 3. What was the slope of Helaine’s line?\
What is 9 1/3 - 3 1/4 as a mixed number?
If $389 is invested @ 3.9% interest compounded monthly for 6 years what would be the total in the account?
Each week, Kelly pays $68.45 in federal income tax, $22.81 in state income tax, and $18.75 in other taxes. Which is the best estimate for the payroll tax Kelly
Consider the equation below. f(x) = 4x3 + 18x2 − 216x + 3 (a) Find the intervals on which f is increasing. (Enter your answer using interval notation.) Find the