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
Bas_tet [7]
4 years ago
9

Write a program to input an integer num from the keyboard and: : find the area of a square whose side length is num. : find the

volume of a sphere whose radius is num. : find the length of the side of a square whose area is num.
Computers and Technology
1 answer:
NeX [460]4 years ago
3 0

Answer:

# include<iostream>  

# include<math.h>  

using namespace::std;  

void calc (int num)  

{

     cout<<"Area of Square" <<num*num;   

     cout<<"Volume of a sphere" << (4/3) *3.14*num*num*num;

     cout<<"Side of a Square" <<sqrt(num);  

     }  

int main ()  

{  

     int num;

     cout<<"Enter the Number"; cin>>num;  

      calc(num);  

      return 0;  

}  

Explanation:

I have used the swtich for the selection purpose. Also, I have used sqrt() function, and for that I have included math,h library.  And the various formula comes from mensuration. Rest part is self explanatory.

You might be interested in
What is BPM in rythm games?
alina1380 [7]

Answer:

BPM: Beats Per Minute.

Explanation:

4 0
3 years ago
Where else can the computer send the results of processing other than to output​
hjlf

Explanation:

it can also be sent through flashdrive

3 0
3 years ago
Classify each of the following acts as a violation of confidentiality, of data integrity, source integrity, or availability, or
AlexFokin [52]

Answer:

A) Violation of Confidentiality and Source Integrity:

Passwords are very confidential information and are usually protected by both the owner and the ower of the system (which in this case is Yahoo). To obtain the passwords, the hacker had to illegally gain access to the source of the data which is on Yahoo servers. Hence a breach of confidentiality and lack of adequate integrity on the part of Yahoo.

B) Source Integrity: Anthony accidentally cuts the electricity from the server room. Why would he be able to do that? how did he gain access into the server room? This speaks to source integrity. People should not be able to access the server room except they are authorised.

C) Source Integrity and Confidentiality: NSA finds an efficient method to break AES. AES refers to the Advanced Encryption Standard. AES is a symmetric encryption technology known as a block cipher.

It is used by the United States Government for the classification of information. Their ability to break this code speaks to Violation of Source Integrity. In this case, they haven't exactly hacked any document. However, any document that was encrypted using this technology is already compromised at the source.

D)   Anna registers the domain name, "JohnSmith" and refuses to let John Smith buy or use the domain name: Violation of Availability.

It is assumed here that John Smith was the original owner of the domain but it was highjacked at expiration and registered by Anna. This kind of breach is called Violation of Availability of the domain name.

E) Some malware encrypts the victim’s hard drive with a secret key and a criminal asks for a ransom to decrypt.

This move is called the Ransomeware attack. The Integrity of the source of information (which is the hard drive) is already compromised. This is a combination of Source Integrity or availability and confidentiality violation.

F) The wiretapping of a cell phone is a breach of confidentiality and data integrity.

G) when there is a vulnerability in a system or software that is unknown to those who should be interested, it is called a Zero-Day vulnerability. Where there is a Zero-Day vulnerability there could be a violation of confidentiality, data integrity, source data and or it's availability.

Cheers!

4 0
4 years ago
To provide a good sealing joint between the cylinder head and exhaust manifold, apply a sealant to the machined surfaces.
jeka94

Answer:

It's a true statement.

7 0
3 years ago
Read 2 more answers
Match the items with their respective descriptions.
Serhud [2]

Defining focus helps scan for Information quickly in a web page.

  • Visual balance helps make visually attractive and functional web page
  • Color harmonies helps with color combinations in a  web page
  • Screen design principles helps provide visually pleasing screen
  • arrangement in a web page.

<h3>What is Defining focus?</h3>

This is known to be a form of  good screen design that can help on to highlight important areas to which one can focus on when looking for information.

Note that this form of guidance helps a person to scan for information very fast . Without having a clear focal points, you have to work a lot on the the entire web page.

Learn more about  Defining focus from

brainly.com/question/7284179

3 0
2 years ago
Other questions:
  • What do you call the number that is used as an index to pinpoint a specific element within an array?
    14·1 answer
  • What happened to Henry at the end of Chapter 4 in Bendy and the ink machine?
    9·2 answers
  • A critical piece of equipment that provides power to systems even during a black out is called a(n) _______________.
    14·1 answer
  • CJ is developing a new website blogging about cutting-edge technologies for people with special needs. He wants to make the site
    8·1 answer
  • The purpose of a report is to
    13·1 answer
  • What does a student use when types text into a word processing program ?
    7·1 answer
  • Suppose the daytime processing load consists of 65% CPU activity and 35% disk activity. Your customers are complaining that the
    15·1 answer
  • Cual es la constante de proporcionalidad de la función f(x)= 4x-6 ​
    7·1 answer
  • a deque is a type of collection,but it is not automatically available when you open IDLE. What is missing that allows you to use
    14·2 answers
  • #Question 4: #Use a variable to represent the name of a food. You are then going to print this variable four times. Before you d
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!