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

Because Calvinists believed they were doing God's work, they A. remained Catholic to be safe. B. were determined to spread their faith to other people. C. paid
cual es la estrategia para cerrar la brecha fiscal?
If you have 5 moles in 500ml what is the molarity
what did Lincoln say the insurgents were doing for years earlier during his first inaugural address
What is an advantage of using pluripotent cells instead of multipotent cells in medical treatments? A. Pluripotent cells are further along in differentiation
what dose the word resource sand for and give me a example
Select the entire absolute phrase in the sentence. during the small fire, angelina fled from the house, her dog bonzo clutched tightly in her arms.
Emma and clair are planning to sell lemonade on their street. they have two recipes to choose from. emma’s recipe calls for the juice of 5 lemons and 2 cups of
Which statements are true about how Fang artists used the elements of art and principles of design in masks?
After General Howe's forces defeated the Americans at Brooklyn Heights and White Plains, Washington's strategy called for