1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Solnce55 [7]
4 years ago
9

Write a program to read customer number, Name, loan amount, interest rate and time of repayment. Calculate and display the EMI .

To calculate EMI, calculate interest amount using formula: Interest amount = loan amount(1+ rate/100)time . Then add Interest amount to loan amount and divide by time (in months).
Computers and Technology
1 answer:
kompoz [17]4 years ago
6 0

Answer:

The programming language is not stated; however, I'll answer this question using Python programming language.

This program doesn't make use of comments (See Explanation Section for detailed explanation)

The program is as follows

name = input("Customer Name: ")

number = input("Customer Number: ")

loan = float(input("Loan Amount: "))

rate = float(input("Interest Rate: "))

time = int(input("Repayment Time [in months] : "))

Interest = loan * (1 + rate/100) ** time

EMI = (Interest + loan)/time

print("EMI: ", end='')

print(round(EMI,2))

Explanation:

This line prompts for customers' name

name = input("Customer Name: ")

This line prompts for customers'number

number = input("Customer Number: ")

This line prompts for loan amount

loan = float(input("Loan Amount: "))

The line prompts for the interest rate

rate = float(input("Interest Rate: "))

This line prompts for time of loan repayment

time = int(input("Repayment Time [in months] : "))

Using the given formula, this line calculates the interest amount

Interest = loan * (1 + rate/100) ** time

The EMI is calculated using this line

EMI = (Interest + loan)/time

This line prints the string "EMI: " without the quotes

print("EMI: ", end='')

The last line of the program prints the calculated value of EMI, rounding it up to 2 decimal places

print(round(EMI,2))

You might be interested in
When you enable user access control (uac)
SVEN [57.7K]
The UAC is on by default. So, you don't need to turn it on unless someone else turned it off.

The UAC has four modes.

The lowest mode is the off position. If the UAC is off, no UAC prompt will pop up when doing administrative tasks.

6 0
3 years ago
A coffee shop is considering accepting orders and payments through their phone app and have decided to use public key encryption
arlik [135]
Somewhat they store the credit info
8 0
2 years ago
Answer Please
nataly862011 [7]

The points r halfed cause 2 people can anwser them.

4 0
3 years ago
Read 2 more answers
How much does it cost to go to csun school
wolverine [178]
I believe you will find all your answers here,

http://www.csun.edu/prospectivestudents/cost-attendance
6 0
4 years ago
What is the full form of ARPANet, WAN,FTP,DCP,HTML,ISP and last WWW​
Lapatulllka [165]

Advanced Research Projects Agency Network,

wide area network

File Transfer Protocol

?

Hypertext Markup Language

Internet service provider

world wide web

6 0
3 years ago
Read 2 more answers
Other questions:
  • Select the correct text in the passage.
    5·1 answer
  • Under the class system, how many host ids were available in a class b network?
    7·1 answer
  • At which layer of the osi model is the entire message referred to as the payload
    15·1 answer
  • ) write a program that creates a vector of string called "vec". vector "vec" grows and shrinks as the user processes the transac
    6·1 answer
  • What is information associated with a document to help describe that document called?
    14·1 answer
  • ___________ system allows us to talk to any person in the world it any time​
    15·2 answers
  • Carlos is using the software development life cycle to create a new app. He has finished coding and is ready to see the output i
    12·2 answers
  • Electrical sign connect mainly to​
    8·1 answer
  • ILL GIVE BRAINLIEST HELLP.
    10·1 answer
  • Which of these expressions is used to check whether number is equal to value?
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!