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

Spencer has 1/3 pound of nuts he divides them equally into 4 bags what fraction of a pound of nuts is in each bag
what is 12 divided by t
How do I find the missing angle measure in a polygon
I ready help plz !!!!!!!
How do I find the missing angle measure in a polygon
By granting Amnesty to Americans who had invaded the draft president Carter hope to
Out of $20$ creepy-crawly creatures in a room, $80\%$ are flies and $20\%$ are spiders. If $S\%$ of the total legs belong to spiders, what is $S$?
When you burn natural gas in the laboratory, methane burns. What numbers fill in the blanks to balance this equation? ___CH4 + ___O2 ? ___CO2 + ___H2O A. 1, 2,
Pls help never taught I’m really confused and I rlly need help
Which of the following best describes the figure?