Question: write in C language please 2. Brainerd, Chapter 2, Question 4, Page 61 (modified from original) The Enlightened Corporation is pleased when its employees enrol
write in C language please
2. Brainerd, Chapter 2, Question 4, Page 61 (modified from original) The Enlightened Corporation is pleased when its employees enrol in college classes. If offers them an 80% rebate on the first $500 of tuition, a 60% rebate on the second $400, and a 40% rebate on the next $300. Write a Fortran Soo program to compute the amount of the rebate. The input data consists of one number, the amount of tuition paid by the employee. A sample execution might produce the following: Tuition paid by employee: 600 The employee's rebate is 460 3. Brainerd, Chapter 2, Question 4, Page 76 (modified from originai) An integer is a perfect square if it is the square of another integer. For example, 25 is a perfect square because it is 5 5Write a Fortran program to selectively print those numbers less than n that are not perfect squares, where the value of n is obtained from the user 4. Suppose a loan of z dollars carries a monthly interest rate of r, and is to be paid off in n months. The monthly payment p is given by r(1+r)n L(1 +r)n -1 A portion of each monthly payment goes toward repaying tha interest, while the remainder reduces the amount owing (the principal). Write a Fortran program to print an amortization table, which displays the current balance, the payment, the monthly interest amount, and the amount of the payment applied to the principal, for each month. Provide output for several examples of loan amount (c), interes format your output. t month's accrued e sure to
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
