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
Delvig [45]
3 years ago
11

Write a Program thatask the User to input the Radius and Length ofa Cylinder.

Computers and Technology
1 answer:
AveGali [126]3 years ago
4 0

Answer:

#include <iostream>

using namespace std;

int main() {

   float radius,length,vol,area;//flioat variables to hold radius,length,volume and area.

   cout<<"Enter the radius and length of the cylinder respectively"<<endl;

   cin>>radius>>length;//taking input of radius and length..

   vol=3.14*radius*radius*length;//calculating volume..

   radius=radius*12;//converting radius from feet to inches..

   length=length*12;//converting area from feet to inches..

   area=2*3.14*radius*(length+radius);//calculating area..

   cout<<"Volume in cubic feet is ="<<vol<<endl<<"Area in square inches is ="<<area<<endl;//printing the output..

return 0;

}

Output:-

Enter the radius and length of the cylinder respectively

5 2

Volume in cubic feet is =157

Area in square inches is =31651.2

Explanation:

In the program above I have taken four float variables for storing radius,length,volume and surface area of the cylinder.Then calculating the volume and after that converting radius and length to inches and after that calculating area in square inches.

You might be interested in
Okay so I know this is a platform for assignments but I really need a tech expert... So I had a 16 GB SD card and because of eve
Masja [62]

I'm not too experienced with code including external memory, but i believe there was an error with the code mixing that either mixed lines of code up or got rid of code to save files onto your device. Try looking up code for the device, see if that helps at all.

6 0
3 years ago
Has the worst state of seat belt usage in the nation
german
Hope this helps pls thank me

7 0
4 years ago
Define Key web terminology:)
wariber [46]
Terminology is a discipline that systematically studies the "labelling or designating of concepts" particular to one or more subject fields or domains of human activity. It does this through the research and analysis of terms in context for the purpose of documenting and promoting consistent usage. Terminology can be limited to one or more languages (for example, "multilingual terminology" and "bilingual terminology"), or may have an interdisciplinarity<span> focus on the use of terms in different fields.</span>
6 0
3 years ago
A major hospital uses an Agile approach to manage surgery schedules. A large board set up in a common office allows staff to qui
aksik [14]

Answer:

Kanban method

Explanation:

Kanban is an agile methodology and it is incremental. Since the hospital work as a team, scheduling procedures and time of staff on a large board, this allows planning, continuous improvement, and improvement when necessary, and it also put pressure on individuals and teams to deliver. The Kaban method used in the hospital by providing information on procedures and times scheduled on the board for each staff to follow allows the entire team to keep track of any task and necessary information required to achieve a common goal.

 

     

3 0
3 years ago
Consider the following code segment.
Fynjy0 [20]

Answer:

C

Explanation:

10 15 20 35

30 35 40 45

50 55 60 65

6 0
3 years ago
Other questions:
  • In an ipv4 address, what are the maximum number of bits that can be used to identify the network address
    14·1 answer
  • It is possible to collaborate on a presentation with a group of people using the Internet.
    14·1 answer
  • What are the Components of a CPU?
    15·2 answers
  • What is the lower House​
    7·1 answer
  • Which of the following correctly declares an array:
    12·1 answer
  • I WILL GIVE BRAINLIEST TO WHO ANSWERS FIRIST AND CORRECT
    10·2 answers
  • PLEASE HELP
    15·1 answer
  • Which of the following is a software tool used to manage data for a project in a logical and hierarchical order?
    13·1 answer
  • What is the difference between DWT and CWT?
    11·1 answer
  • Write a c program that reprints input so that no line is longer than 50 characters. Specifically, for lines less than or equal t
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!