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 does place value mean with binary?
mestny [16]

Explanation:

the largest number you can write in binary using only 6 places or 6 digits

7 0
4 years ago
To edit the text in a smartart graphic, what must be done first ?
ICE Princess25 [194]
C Hope this helps :D
8 0
3 years ago
Read 2 more answers
The ________ of the operating system enables the user to communicate with the computer system. Select one:
mojhsa [17]
The user interface (correct answer is a)
8 0
3 years ago
______-____ parameters provide a one-way link between actual parameters and formal parameters.
Oxana [17]

Answer:

Value

Explanation:

3 0
2 years ago
The company currently runs 60 autonomous APs and has plans to increase wireless density by 50% in the near future
Vaselesa [24]

Correct Question:

A small company is requesting a quote to refresh its wireless network. The company currently runs 60 autonomous APs and has plans to increase wireless density by 50% in the near future. The requirements state that the chosen solution should significantly decrease the management overhead of the current wireless network. Which of the following should the vendors recommend In response to the quote request?

A. The use of lightweight APs with a load balancer

B. The use of autonomous APs with a wireless controller

C. The use of autonomous APs with a load balancer

D. The use of lightweight APs with a wireless controller

Answer:

B.

Explanation:

Because company requires less management overheed. So an autonomous APs with a wireless controller will do the work.

3 0
3 years ago
Other questions:
  • (Financial application: compound value) Suppose you save $100 each month into savings account with an annual interest rate of 5%
    6·1 answer
  • Print a countdown from n to 1 The function below takes one parameter: an integer (begin). Complete the function so that it print
    8·1 answer
  • Children's Web sites may combine educational and entertaining information and activities with interactive advertising and direct
    5·2 answers
  • Edhesive 1.7 code practice question 1
    8·1 answer
  • I really need help with this question
    14·1 answer
  • 1. Answer the following questions: a. What are the different types of number system? Name them.​
    8·1 answer
  • When documenting one author in reference in a text, which is correct?.
    7·1 answer
  • What is the difference between the dom api and the html dom api.
    8·1 answer
  • Responsible manner in video and audio conferencing​
    15·1 answer
  • Which term refers to a shorthand method for identifying network and host bits in an ip address?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!