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

which point is on the line y=-2+3? (-2,-1) (3,3) (3,-3) (-3,-9)
If a and b are the measures of two first quadrant angles and sin a = 4/9 and sin b = 2/5 find sin(a+b).
New industry and wealth, plans to expand power in the Pacific, and new military power were similarities between the United States and ______ in the early 1900s.
The 2nd largest river in Europe (that runs through 12 countries) is the _____________ river. Question 13 options: Rhine Danube Seine Thames
Which pair of words most accurately describes how Atticus is characterized in To Kill a Mockingbird? moral and excitable calm and disinterested weary and wry wi
Brady has a 20 year fixed rate mortgage for $215,500 with monthly payments of 1,305.89.the annual interest rate is 4%. What is the total cost of the principal a
this is fractions casey shared a pizza with some friends.they each ate 1 third of the pizza. how many people shared the pizza
The media influences tobacco use by teens how? A) by showing beautiful, strong, and popular people using tobacco and cigarettes B) tobacco companies describing
Which element about russia in 1990s in not accurate
Given tan∅=4/3 and π<∅<(3π)/2; find cos2∅ a. -24/25 b. 24/25 c. -24/7 d. -7/25