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

This relief sculpture is an example of a ________________. a. high relief c. freestanding relief b. low relief d. sunken relief
ma ajuta si pe mine cineva va rog? a-5+6=12
Which sentence uses all its subject pronouns correctly? a. She and I have always enjoyed drawing and painting. b. Her and us are volunteering to clean up the
For 9x + 25 = 88, Deena wrote the situation "I bought some shirts at the store for $9 each and received a $25 discount. My total bill was $88. How many shirts d
Which personal pronoun correctly completes the sentence? __________ and Sally ran a lemonade stand. a. Them b. They c. Their
According to scientists, when did humans began to migrate out of Africa?
I am so confused with my assignment. Any ideas on an argument topic? I don't even know how to write one or where to begin help!!!
tomatoes cost $1.56 a pound. if suzanne purcharsed 36 ounces of tomatoes how much did she pay? round to nearest cent
Economics is divided into two core areas of study known as
Need help,on number 2