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

4n^2 -15n+9 factor completely
23. Although they are radially symmetrical, echinoderms are more closely related to a human than to a jellyfish because they are ________. (1 point)
Which sample of HCl(aq) contains the greatest number of moles of solute particles? (1) 1.0 L of 2.0 M HCl(aq) (2) 2.0 L of 2.0 M HCl(aq) (3) 3.0 L of 0.50 M HCl
Which part of a plant has the potential to produce a lateral shoot?
Which group of organisms in the carbon cycle converts carbon into a form that is available to primary consumers? A. Decomposers B. Detritus feeders C. Producers
Membrane-bound organelles are not found in the cells of? A) bacteria. B) fungi. C) plants. D) protists.
Researchers attempt to find the truth about a subject. true false
Researchers attempt to find the truth about a subject. true false
Find the angle with a tangent ratio of 0.4877
a student determines the molar mass of acetone