Given two banks, Bank A and Bank B, with varying interest rates, tenures, and interest rate variations, determine which bank offers the least interest cost. Calculate the Equated Monthly Installment (EMI) using the provided formula and choose the offer with the lowest total interest paid.

PrepInsta
author
3y
#include #include using namespace std; int main () { double p, s, mi, sum, emi, bank[5], sq; int y, n, k, i, yrs, l = 0; cin >> p; cin >> y; for (k = 0; k < 2; k++) { cin >> n; sum = 0; for (i = 0; i ...read more
Help your peers!
Add answer anonymously...
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

