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

Suppose that an individual has a body fat percentage of 16.7% and weighs 147 pounds. How many pounds of her weight is made up of fat? Round your answer to the
the highest common factor of 98 and 42
These are the pics of my worksheet help with answers
Theo drinks 5/8 quart of milk with lunch and 1/4 quart of milk with dinner. Which answer is the most accurate estimate of how much more milk he drank with lu
The charge nurse is reviewing a patient’s plan of care, which includes the nursing diagnostic statement, Impaired physical mobility related to tibial fracture a
What is the main purpose of the document? A) to assert President Abraham Lincoln's power as commander in chief B) to free the slaves in the states that had succ
2/8 c +24 = 8i really need help​
In ΔNOP, the measure of ∠P=90°, the measure of ∠N=83°, and NO = 83 feet. Find the length of OP to the nearest tenth of a foot.
true or false applied chemistry does not have a specific goal or application
Can anyone help me out