Chapter 4

The Loop Control Structure

C languageC SolutionChapter 4Programming

Q14 A machine is purchased which will produce earning of Rs. 1000 per year while it lasts. The machine costs Rs. 6000 and will have a salvage value of Rs. 2000 when it condemned. If 9 percent per annum can be earned on alternate investments, write a program to determine what will be the minimum life of the machine to make it a more attractive investment compared to alternative investment?

Program: 107 A machine is purchased which will produce earning of Rs. 1000 per year while it lasts. The machine

Read More