Programming

C languageC SolutionChapter 4Programming

Q19 According to a study, the approximate level of intelligence of a person can be calculated using the following formula: i=2+(y+0.5x) Write a program that will produce a table of values of i, y and x, where y varies from 1 to 6, and, for each value of y, x varies from 5.5 to 12.5 in steps of 0.5.

Program:112 According to a study, the approximate level of intelligence of a person can be calculated using the following formula:

Read More
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