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
Select the tips you should follow when creating a newsletter.
podryga [215]

When creating a newsletter, it is best to have a guideline and follow tips in making a more creative newsletter that will make readers or audiences hook up. The following tips that an individual should follow when creating a news letter are the following:

-          It is best to be clear and concise when writing

-          Be straight and to the point

-          Be emphatic, by having to know the readers or your audiences.

3 0
4 years ago
How to get the blade out of a pencil sharpener?
agasfer [191]
Poke hole with thin but strong object
Or buy new sharpener
7 0
4 years ago
What does aperture control? A)amount of light the image sensor captures when taking a photo. B)how sensitive the camera is to in
My name is Ann [436]

Answer:

How sensitive the camera is to incoming light.

Explanation:

8 0
4 years ago
Read 2 more answers
What is 1 and 3/4 in grams?
Mice21 [21]
<span> 1 and 3/4 in grams is 
</span>1.75grams
8 0
3 years ago
Read 2 more answers
May someone help please. :(
BigorU [14]

the 3rd one, if you ever watched a dvd (i know you have) if you read the copyright note you can be fined and you may end up in jail (for five or two years depending on what you did)

7 0
4 years ago
Other questions:
  • A ________ is a set of rules that governs data communication.
    14·1 answer
  • ​What file system below does not support encryption, file based compression, and disk quotas, but does support extremely large v
    10·1 answer
  • A cyber community is different than a physical community because _________________. A.people can go to restaurants to meet frien
    13·1 answer
  • Which of the following statements about the placement of illustrations in documents is true?
    12·1 answer
  • Electronic business includes which of the following
    5·2 answers
  • What Information Technology is Walt Thomas responsible for?
    13·2 answers
  • Guys help—How do you start a conversation with someone on brainly if that is a thing?
    6·1 answer
  • D. Chipboard
    14·1 answer
  • What is the minimum number of bits needed to store the decimal value 200?
    12·1 answer
  • Is this statement true or false? While in slide show mode, if you are not careful you can close the application by clicking the
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!