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
What easy to understand device do artists often use in commentary?
sweet [91]

Answer:

Subject Matter.

Explanation:

If you have ever heard the commentary of anything in your life .You should have observed that the all of the commentators are the experienced people in that field or experts in that field.

They use their knowledge of that field to given us in depth analysis and also explain in language that is easily understandable.

5 0
4 years ago
Secondary storage is also called?
Alekssandra [29.7K]

it is also called external storage

4 0
4 years ago
Which of the following contains information about which keywords are bringing visitors to your website?
Natasha_Volkova [10]
I would go with C. but it would depend on what you have recently been studying to know for sure since lingo can change from person to person.  Good luck! :)
8 0
3 years ago
Which software is used to play, create, and modify audio and video files
larisa86 [58]
The answer your looking for is video editing software

3 0
3 years ago
Read 2 more answers
State the Data types with two examples each​
AfilCa [17]

Answer:

A string, for example, is a data type that is used to classify text and an integer is a data type used to classify whole numbers. When a programming language allows a variable of one data type to be used as if it were a value of another data type, the language is said to be weakly typed. Hope it help's! :D

4 0
3 years ago
Other questions:
  • A file type that allows a document to be read on most computers is a _____.
    14·1 answer
  • You have been asked to troubleshoot a legacy system running a critical component on your employer's network. Initial findings in
    7·1 answer
  • Witch word in the sentence is a noun? the food he is cooking smells delicious.
    7·1 answer
  • Someone who participates online for social reasons usually has a:
    9·1 answer
  • What is computer-aided design/computer-aided manufacturing (CAD/CAM)? a.A cultural trend that places value on an individual's ab
    12·1 answer
  • Fill in the blank. The process that a wireless router uses to translate a private IP address on internal traffic to a routable a
    11·1 answer
  • Micheal is the project manager in a company. He wants his organization to use technology for higher revenue and productivity. Wh
    13·1 answer
  • Which of the following statements is/are correct? a. At the network layer, entitlement can map identity and/or attributes to fun
    8·1 answer
  • What tool allows you to search external competitive intelligence research?
    14·1 answer
  • explain the following joke: “There are 10 types of people in the world: those who understand binary and those who don’t.”
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!