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

What is the first step to solving 8=2/3x
Sheffield Corp. developed the following data for the current year: Beginning work in process inventory $ 216000 Direct materials used 208000 Actual overhead 176
50 POINTS! ANSWER KEY! Common “er” Verbs and Review and Quiz Test: Vocabulary and Grammar 1.6 Q1; Choose the correct translation of the following time: 3:10 A1;
What is the approximate area of the shaded sector in the circle shown below
The function, f(x), is plotted below. On a coordinate plane, a function curves up to (StartFraction pi Over 4 EndFraction, 0), curves down through (0, negative
help i will mark brianliest
What is the approximate time of death if the body temperature was 50°F?
Someone please help me!!!
Find the median and mean of the data set below: 4,9, 26, 20, 23, 0,37 Median Mean
12 moles of sodium into grams