1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
OleMash [197]
4 years ago
11

Write a complete program that declares an integer variable, reads a value from the keyboard into that variable, and writes to st

andard output a single line containing the square of the variable's value. Besides the line and the number it contains, nothing else should be written to standard output.
Computers and Technology
1 answer:
Feliz [49]4 years ago
5 0

Answer:

// here is code in C++.

#include <bits/stdc++.h>

using namespace std;

// main function

int main()

{

  // variables

  double num;

  // read discriminant

  cin>>num;

  // calculate square of the input

  double result=num*num;

  // print the square number

  cout<<result<<endl;

     return 0;

}

Explanation:

Declare a variable "num".Read the value of "num" from keybord.Then calculate square of the input number.Print the square of input number.

Output:

5

25

You might be interested in
What is a common indicator of a phishing attempt cyber awareness 2022
vivado [14]

There are several types of malicious document. A common indicator of a phishing attempt cyber awareness 2022 is that It includes a threat of dire circumstances.

  • Phishing attacks often makes use of email or malicious websites to infect the machine with malware and viruses so as to collect personal and financial information.

Cybercriminals often uses different means to lure users to click on a link or open an attachment that infects their computers thereby producing vulnerabilities for criminals to use to attack.

Learn more from

brainly.com/question/24069038

7 0
3 years ago
What is the function of series-parallel circuit
wel

Answer:

components are connected end-to-end in a line to form a single path for electron s to flow

Explanation:

If you put morw lamps into serious circuit, the lamps will be dimmer than they were before.

6 0
4 years ago
What is emerging as a major business area of innovation that offers a flexible collection of computers on the Internet that can
Gemiola [76]

Answer:

Option (D) i.e., cloud computing is the correct answer to the following question.

Explanation:

The following option is correct because cloud computing is a better way to store our application, data, and programs on the internet with privacy and without storing them into the hard drives.  

So, that's why the following option is correct. It simple words, cloud computing provides us the facility to store data through the internet without storing them into the drive.

8 0
3 years ago
BRAINLIEST TO THE BEST ANSWER!!!!!!!!!!!!!
NeTakaya

Answer:A sitemap break a website down to it's most basic components and a wirefram gives more details of what each page will contain but if you do have fleshed out content ready bring that content into your wireframed to see how it fits

Explanation:

3 0
3 years ago
What should be done with equipment that is at the end of its life cycle and that is being donated to a charity?
Solnce55 [7]

Answer: C) Sanitize it

Explanation:

The system and equipment needs sanitization when it reach at the end of the life cycle and must ensure that they does not included any type of the sensitive data. As, sanitization is the process of remove and destroy all the data store in the memory device.    

Removing CD and DVDs is also the part in sanitation but many other element such as disk drive needs to be checked to ensure that they does not contain any type of information or data.

Removing all the software license and installing the original software, they both are not necessary require in the sanitization process.

Therefore, Option (C) is correct.

7 0
4 years ago
Other questions:
  • ____ are systems in which queues of objects are waiting to be served by various servers
    5·1 answer
  • What type of impacts can a computer virus have on a computer?
    12·1 answer
  • Which one of the following words is NOT an action verb?
    10·2 answers
  • Which bus slot provides highest video performance​
    13·1 answer
  • How many cells does the organism have?\
    5·2 answers
  • A manufacturer of machine tools creates a spreadsheet of tools and their cost. The spreadsheet has four fields: name of the tool
    10·2 answers
  • Memory, as a general construct, is best defined as A) the ability to briefly retain information in the senses. B) the long-term
    12·2 answers
  • Which of the following statements is correct? Group of answer choices An object of type Employee can call the setProjectName met
    11·1 answer
  • Files exist on ____ storage devices, such as hard disks, dvds, usb drives, and reels of magnetic tape.
    11·1 answer
  • Which type of memory helps in reading as well as writing data?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!