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
Galina-37 [17]
3 years ago
11

Write a program that accepts two numbers R and H, from Command Argument List (feed to the main method). R is the radius of the w

ell casing in inches and H is the depth of the well in feet (assume water will fill this entire depth). The program should output the number of gallons stored in the well casing. For your reference: The volume of a cylinder is pi;r2h, where r is the radius and h is the height. 1 cubic foot
Computers and Technology
1 answer:
nasty-shy [4]3 years ago
7 0

Answer:

Answered below.

Explanation:

#Answer is written in Python programming language

#Get inputs

radius = float(input("Enter radius in inches: "))

height = float(input("Enter height in feet: "))

#Convert height in feet to height in inches

height_in_inches = height * 12

#calculate volume in cubic inches

volume = 3.14 * (radius**2) * height_to_inches

#convert volume in cubic inches to volume in gallons

volume_in_gallons = volume * 0.00433

#output result

print (volume_in_gallons)

You might be interested in
Need the answer for this code hs will give brainly
Masteriza [31]

Answer:

3

Explanation:

Given

The code segment

Required

How many times will move() be executed

The move() function is executed when the loop is executed.

The range and condition of the loop is as follows:

i = 0; i < 3; i ++

i = 0; i < 3 and i ++ means i= 0, 1, 2

<em>So move() will be executed for the values of i= 0, 1, 2 (i.e. 3 values or 3 times).</em>

7 0
3 years ago
Difference between windows 2000 professional and service pack
Rudiy27
The difference between a Windows 2000 Professional and a Service Pack is a Windows 2000 Professional has a better running quality than the Windows 2000 Service Pack. 

Higher quality

better storage 

by better i mean BIGGER STORAGE

HOPE THIS HELPS
5 0
3 years ago
Which of the following tasks is an interactive media professional most likely to do? Check all of the boxes that apply. 1. decid
GREYUIT [131]

Answer:

decide how a website should look and  

test a software program to ensure that the visual elements are working

Explanation:

i just did it

8 0
3 years ago
It can be hard to get close enough to photograph animals in the wild true or false
marysya [2.9K]

Answer:

True

Explanation:

8 0
3 years ago
Read 2 more answers
4. WiFi and WiMax are used for a high-speed wireless access technology.
nikdorinn [45]

Answer: Wifi and WiMax are used to create wireless network connections.

Explanation: Wifi and WiMax are used to create wireless network connections. Wifi is used to create small networks and used to connect printers, computers, gaming consoles. WiMax uses spectrum to deliver connection to network. WiMax is used to provide internet services such as Mobile Data and hotspots.

8 0
3 years ago
Other questions:
  • The most significant factor in choosing a transmission method is its ____.
    10·1 answer
  • Which group on the Home Ribbon contains the line spacing attribute?
    9·2 answers
  • In the Dread Pirate Roberts case, U.S. Ulbricht, 31 F. Supp. 3D 54D (S.D.N.Y. 2014), one of the issues that the court addressed
    10·1 answer
  • With a chart , illustrate the stage of wood processing plsss help I will mark u as brainliest plss help pls and I will follow yo
    15·1 answer
  • Why does my inbox keep getting notifications and then disappearing?
    15·2 answers
  • Think of some ways you could use Excel at home. Describe one example of something in your life that could be improved or more ea
    14·1 answer
  • Write the code for the following problem.
    9·1 answer
  • Hattie uses the line of code num == 7 to assign the number 7 to the variable named num. What correction should be made?
    7·1 answer
  • Select the best answer from the drop-down menu.
    14·2 answers
  • How does beamforming improve network service?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!