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

what happens to the saturation for when adding salt to water at room temperature
find the interest and maturity value for the loan. Round to the nearest cent. $15,816 at 6.1% for 7 months
find the interest and maturity value for the loan. Round to the nearest cent. $15,816 at 6.1% for 7 months
(07.06)Number line with open circle on 9 and shading to the left. Which of the following inequalities best represents the graph above? x < 9 x > 9 x
ww2, what was hitters favorite strategy
A standard set of measuring cups includes all the following measurements EXCEPT ¼ cup 1/3 cup 1/8 cup 1 cup
What civilization relied heavily on hunting and fishing to gather food
If a solution conducts electricity, it it positive evidence that
Which colony was influenced by Pennsylvania's size and location? A. Massachusetts B. Virginia C. New Jersey D. Florida
Use synthetic division and the Remainder Theorem to find P(a) P(x)=x^4+10x^3+8x^2+4x+10 ; a=2 2 –114 56 146