Write a program, based on the sterling structure

Assignment Help Civil Engineering
Reference no: EM131228860

Write a program, based on the sterling structure of Exercise 10 in Chapter 4, that obtains from the user two money amounts in old-style British format (£9:19:11), adds them, and displays the result, again in old-style format. Use three functions. The first
should obtain a pounds-shillings-pence value from the user and return the value as a structure of type sterling. The second should take two arguments of type sterling and return a value of the same type, which is the sum of the arguments. The third should take a sterling structure as its argument and display its value.

Reference no: EM131228860

Questions Cloud

Write a research paper about ancient greek vs ancient egypt : Write a research paper about ancient greek vs ancient egypt. While both Egyptian religion and Greek religion worship was centered on many gods with a distinct personality and domain.
Determine the temperature at the compressor exit : Air is compressed from 14.7 psia and 60°F to a pressure of 150 psia while being cooled at a rate of 10 Btu/lbm by circulating water through the compressor casing.
Many business offer free samples of their products : Many business offer free samples of their products or services to potential customers to induce them to become customers. Please write two paragraphs that describe how this strategy can be implemented online. Include how the amount of sampling is lik..
Description of solid post in announcement area : This is question 1 of 2 in this Discussion which means you will need to make a substantial post. Make sure you read the description of a solid post in the Announcement Area. (NOTE: Points will be deducted for weak posts). You are required to respo..
Write a program, based on the sterling structure : The second should take two arguments of type sterling and return a value of the same type, which is the sum of the arguments. The third should take a sterling structure as its argument and display its value.
Using the four theories to analyze each dream : A friend has just described the following dream to you in which they were running from a snake and could never get away from the snake although it never did catch them either. Using the four theories to “analyze” each dream. Your analysis must demons..
Write down the cumulative distribution function : STAT 101 INTRODUCTORY STATISTICS Write down the cumulative distribution function of X - calculate the mean and standard deviation of X and in a random sample of six flights, what is the probability that all the passengers can be boarded in at lea..
Analyze the ethical considerations that apply : Identify at least 4 laws or regulations that apply to the company. Explain the actions Juanita's company has to take to ensure they are conforming to the requirements of these identified laws and regulations.
Finding the combination of mixed drinks : The bartender of your local pub has asked you to assist him in finding the combination of mixed drinks that will maximize his revenue. He has the following bottles available: Since he is new to the business, his knowledge is limited to the following ..

Reviews

Write a Review

Civil Engineering Questions & Answers

  Describe the measurements that would have to be taken

describe the measurements that would have to be taken and the equations that would have to be used to determine G23, V32, and E2 for a specially orthotropic transversely isotropic material from a single tensile test.

  Determine f and the angle

The forceFacts on the gripper of the robot arm. The moments ofFabout pointsAandBare 210 N m and 90 N · m, respectively-both counter clockwise. Determine Fand the angle?.

  Determine the size of the watershed in acres and then

The 1-hr UH in the table was recorded for a particular watershed. Determine the size of the watershed in acres and then convert the 1-hr UH into a 3-hr UH for the watershed.

  Perform the calculations and make the selection

Discuss why the analysis led to your selection in step 2 and whether you would change any of the criteria or weights. Perform a supplier rating analysis for the situation. Include at least ten factors and four possible locations.

  Calculate the minimum required minimum wall thickness

A tubular aluminium bar (G=28GPa) of square cross section with outer dimensions 50mm x 50mm must resist a torque T=300Nm. Calculate the minimum required wall thickness t_min if allowbale shear stress is 20MPa

  Which activity requires no direct labor

Which activity (pile driving, tieback drilling, tieback grout curing, or lagging installation) requires no direct labor, but constitutes a timely process that must be accounted for in the project schedule?

  Calculate the seepage flow rate

Determine the pressure distribution along the base of the dam and beneath the apron. Calculate the uplift forces on the dam foundation and on the apron.

  How to estimate the pesticide concetration in the lake

the flow into the lake is from is from a stream is 300 m3/d andthe flow into the lake from runoff averages 20 m3/d. The lake is used for fishing by the local residents but the pesticides from local farms may damage the fish population.

  Calculate what is the direction of flow for 3 cfs flow

A water pipe gradually changes from 6 in to 8 in diameter accompanied by an increase in elevation of 10 f t. If the pressure at the 6 in and 8 in sections are 9 psi and 6 psi respectively, what is the direction of flow for 3 cfs flow

  Estimate the power in watts that can be produced by turbine

Estimate the power in watts that can be produced by the turbine. Hint: In a time interval Dt,the amount of mass that flows through the rotor is Dm=mDt ,and the corresponding amount of kinetic energy in this flow is (Dm*V square/2)

  Design the thinnest possible slab allowed by the aci code

Design a simply supported one-way reinforced concrete floor slab to span 10 ft and carry a service live load of 175 psf and a service dead load of 25 psf. Use fc' = 3000 psi and fy = 60,000 psi. Make the slab thickness to ½-in. increments.

  How much heat was transferred during the process

A rigid wall tank with volume of 2.5 m^3 initially contains ammonia at 20 degrees C, 150 kPa. The tank is attached to a supply line containing ammonia at 1200 kPa, 60 degrees C.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd