Computer Programming Automobiles
computer programming automobiles

It COMPUTER (specific program) help pls?
1.)-Line method of depreciation to calculate depreciation annual value of the D element is given by the formula D = P – S / Y, where P is the purchase price, S is the residual value and Y is the number years it is being used. Type a program that takes as its departure from the purchase price of an expected recovery value, and then the results annual depreciation of the item. 2.) A car used for commuting. Write a program that takes as input the distance on the road labor, fuel consumption car miles per gallon and gasoline prices and products, the cost of gasoline for the trip. Pls help me ….. putting killed my medium term
Firstly you have made a speech so I guess C + +, but as I wrote peusdocode. on the basis of problems you posted next to the first question out of the calculation of production, they seem very easy for a medium term unless im missing something that wouldnt be a surprise. if so send me an email and I'll try and help best I can. 1. D = PS / Double Y p, s, y, temp double, and production: the cost of entry to the entry of assets: p, and output: the estimated residual value enter Entry: s, and Production: Estimated use into the full life, input Y, d = p-(S / A), and the output, the depreciation is equal to "d", 2. d / f * c Double D, f, c, cg, and the output: distance traveled; Input: D and production: energy efficiency in; entry: f, and production: the cost of entry into the essence of Entry: c, cg = (d / f) c *, and production: the cost of gasoline for the journey "CG"