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

  Tackling the problem of making tunnel

You are a Project Manager on site where work for 3K.m. long Tunnel has been undertaken. The site is remote and takes about 2 days travel to nearest town. Supervisors, Technicians & Skilled Workers are engaged in dangerous / hazardous work.

  Write the mass balance equation for a completely mixed lake

Write the mass balance equation for a completely mixed lake with an impulse input of mass,M, added at time t=0. Assume the lake is of constant volume, V, with continuous outflow, Q, and a conservative substance.

  Determine stress in member immediately after load is applied

You are analyzing a polymer uniaxial tension member used in a lightweight structure. The bottom of the tension member is fixed and the top has a tensile force F = 10,000 pounds on it.

  Determine maximum allowable compressive force can be applied

The force is applied at the two pins. The pins allow rotation around the z-axis and do not allow rotation around the y-axis. The length of the beam between the pins is 8m. Determine the maximum allowable compressive force that can be applied.

  What is the risk of constructing a harbor

What is the risk of constructing a harbor which will be unprotected from wave attack during its construction.

  Compute energy loss in each bench if radius outside of bend

At several points in the system a 90 degree bend is required. Compute the energy loss in each bench if the radius outside of the bend is 300mm

  Calculate minimum set-back distance required for highway

Calculate the minimum set-back distance required for a national highway of 4 lane divided carriageway having circular curve of radius of 350 m & design speed 100 km/hr.

  What is the minimum coefficient of road adhesion needed

The owners wish to achieve an initial acceleration from rest of 22 ft/(sec^2) on a level paved surface. What is the minimum coefficient of road adhesion needed to achieve this acceleration

  X y and z coordinates of point b for radial readings taken

Calculate the X, Y and Z coordinates of point B for radial readings taken to B from occupied station A, if the backsight azimuth at A is 25°32'48", the elevation of A = 610.098 m, and hi = 1.45 m

  Describe some of the characteristics of the fe-c martensite

Define an Fe-C martensite. (b) Describe the following types of Fe-C martensites that occure in plain-carbon steels: (i) lath martensite, (ii) plate martensite. (c) Describe some of the characteristics of the Fe-C martensite

  Transformers dissipation power

To what extant does the transformers dissipation power increase with rising current?

  Derive the expression for the hydraulic radius rh of a pipe

A sprinkler system uses an outdoor reservoir at El 50. A fire pump moves Q = 3 ft^3/sec through a 1.0' dia pipe 300' long to an 8" dia main at El 200. To distribute water to sprinklers, a pressure head at the pipe junction hp =100' is required.

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