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

Water flows through a pipe at a rate of 7 liters every 9 days. Express this rate of flow in gallons per week. Round your answer to the nearest hundredth.
PROJECT: SUMMARIZE IT! The ability to summarize information is a vital component of understanding the information you read in your coursework. To summarize info
Study the equations: f(x)=11x-5 g(x)=-2x-4 What is h(x) = f(x) g(x)
A scientist is working with two different concentrations of hydrochloric acid (HCI). One bottle is 80% HCI, and the other is 40% HCI. For their experiment they
SECOND TIME ASKING HELP!!! 6. Jackie has n nickels and q quarters in her pocket. The total value of the coins is at least $24.75. Write an inequality that repre
yes haha yes what no oh yeah no nevermind wait yes
Any gîrls here free to talk
Any gïrls here free to talk
I don't get what they mean by writing an opinion Can I get some help?
To apply for a job at the new store in the mole. is this a fragmentation sentence ​