-
Calculate and print the amount of money paid to each worker
A carpenter is paid a contract fee of $2000 for 3 days work. He hires 3 workers who work for 3 days at $75 a day. Calculate and print the amount of money paid to each worker, the total paid to each worker,the total paid to all workers and the amount the carpenter is left with.
-
Write an algorithm to read the date borrowed and present date.
A video club rents video for three days. Write an algorithm to read the date borrowed and the present date; calculate the number of days borrowed. If the number of days exceeds three days, compute the number of days overdue and overdue charge. Use a rate of $1.50 for everyday overdue or part overdue
-
A company gives out bonuses
A company gives out bonuses based on the amount of income generated by their sales representatives per month. Once the income generated is greater than or equal to $10,000 a bonus of 20% is given. If the income generated is greater than or equal to $8000 but less than $10,000 a bonus of 15% is given. If the income generated is greater than or equal to $5000 then a 3% bonus is given. Read the income...
-
A car rental firm leases its cars for $250 per day.
A car rental firm leases its cars for $250 per day. The manager gives a discount based on the number of days that the car is rented. If the rental period is greater than or equal to 7 days then a 25% discount is given. Read the period and print the discount given
-
Read the heights in inches and wieght in pounds
Read the heights in inches and wieght in pounds of an individual and compute and print their BMI=((weight/height)/height)*703
-
Pipes are laid by an oil company
Pipes are laid by an oil company. If the company has to lay down 3km of pipes and each pipe is 25 meters long, calculate and print the number of pipes needed to cober the distance
-
Algorithm to input the price of a textbook
Write an algorithm to input the price of a textbook. Calculate the price and print the total cost of the book after 15% VAT is added