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]
3 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]3 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 are three ways digital identity is created and kept up? (open answer)
Anna007 [38]

Answer:

Capture attributes as ID documents or biometric data

Explanation:

Examples of such attributes include biometrics, verified identification documents, and third-party verification procedures. To create a trusted digital ID, there are typically three steps: capturing verified attributes, verification of the documents, and digitization of the ID.

Great day :) toodles

6 0
2 years ago
I can’t unblock brainly from my computer, I think a robot has the same IP address .
prisoha [69]
They won’t let it be on your computer, knowing it well give you answers
6 0
3 years ago
Read 2 more answers
Small-business owner Marcos set up his Google Ads campaign by thinking of “obvious” keywords off of the top of his head. What's
LiRa [457]

Answer:See the suggestions on the Opportunities tab

Explanation: The improvement in the Google ad can be made by the taking a look at the Opportunities tab which will display the adequate opportunities.

The tab displays these opportunities on the basis of the campaign settings, account's history, performance, style, trends etc and thus will create the appropriate opportunities accordingly.Thus Marcos will have to see the suggestion displayed on Opportunities tab

5 0
3 years ago
Question # 2
mezya [45]
To state the main idea of what you read in your own words
8 0
2 years ago
How can templates be made available to other users?
Daniel [21]

Answer:

b

Explanation:

4 0
3 years ago
Other questions:
  • You are a project manager tasked to implement a critical application in a reputed bank. A client review indicates that you could
    11·2 answers
  • Certain medications can increase risk of obtaining a sunburn true or false
    12·1 answer
  • Write a program "addnumbers.c" where it takes as many arguments as the user includes as command line arguments and calculates th
    11·1 answer
  • 1)Which of the following statements about the print statement are TRUE? (Check all that apply)
    8·1 answer
  • Factors to consider while selecting a software to use​
    14·1 answer
  • Compare and contrats the vain digestive system from the human digestive system.​
    10·1 answer
  • k-means clustering cannot be used to perform hierarchical clustering as it requires k (number of clusters) as an input parameter
    15·1 answer
  • Explain set associative mapping<br>​
    10·1 answer
  • 1110011*110011 binary multiplication
    9·2 answers
  • 1. Write the full forms of the following.
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!