Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

lab 2 I want this two questions coding in java I am showing format in another picture // variables // Assignment // Calculations //Output 2)

lab 2 I want this two questions coding in java I am showing format in another picture // variables // Assignment // Calculations //Output image text in transcribed
image text in transcribed
2) Write an algorithm to calculate the interest on a loan and the remaining balance after a specified payment is made. Interest and payment are made at the end of the year 3) Write an algorithm to determine insurance company payment and your payment You may assume that the total charges are greater than the deductible Deductible $1000 - you pay all charges until this amount is reached. Co pay 20% after the deductible - after the deductible is used you pay this amount of charges Prescription co pay $40 payment for each prescription, Insurance company pays rest. (not included in deductible) The algorithm should be general but try the algorithm for this example Total charges $5000 Prescriptions 3 for $65 each

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions