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

Coco and her mother bake cookies to welcome the new neighbor. What does this detail show about their feelings towards the neighbors
Which sentence from the passage would provide evidence for how frustrated and tired the narrator was on Sunday night? A. "It is sometimes difficult to tell exa
which statement is true of covalent bonds? they form when atoms lose electrons. they form when atoms gain electrons. the form when electrons are shared. they fo
Can anyone help me with this
Who won the first Cold War containment
The forensic examiner thinks the body was killed in the country before it was found in New York City.What type of evidence could be present on the body to lead
Which country's culture had the greatest effect on the language and religion of Australia? France, great Britain, or united states
what did the Human Genome Project produce​
Mañana yo ___ al museo de arte. A- fui B- ire C- iba D- ve
The dietary guidelines for americans encourage ___ or more minutes of exercise on most days of the week.