a machine is purchased which will produce earning of Rs 20000 per year while lasts.the machine cost Rs 120000 and will have a salvag value of Rs 20000 when it is12 percent can be earned on alternative investments what should be the minimu life of the machine to make it a more attractive investment compared to alternative investments?
Answers
Answered by
2
Answer:
hi
Step-by-step explanation:
#include<stdio.h>
#include<conio.h>
int main()
{
int year=0, invest, alternate;
while(alternate>invest)
{
year++; //year = year + 1;
// yearly produce income form alternate solution
// 9 % of 1000 = 90
alternate = year * 90;
// yearly produced income from machine
// 1000 per year - [6000(machine cost) - 2000(salvage or scrap value of machine)]
// 1000 * year - [6000-2000]
invest = (1000*year) - 4000;
}
printf("The Life of Machine: %d years", year);
}
Output:
The Life of Machine: 5 years
Similar questions