Write a program that calculates the amount of money in a savings account that earns a guaranteed yearly interest rate. The program will accept from the user the account is present value (i.e. what is in the savings account now), the annual interest rate (in a percentage), and the number of years the money will be left in the account (years). The program should display the savings account future value and the number of years the money will be left in the account.

Answers

Answer 1

Solution :

# Reading principle amount from user

[tex]$\text{accountPresentValue}$[/tex] = eval([tex]$\text{inpu}t("$[/tex]Enter principle amount: "))

# Reading time duration in number of year from user

years = eval(input("Enter time duration in number of year: "))

# Reading interest rate from user

annualInterestRate = eval(input("Interest rate: "))

# calculating futureValue using user input data

futureValue = accountPresentValue * (1 + annualInterestRate / 100) ** years

# printing calculated futureValue to console

print("Final balance =",futureValue)


Related Questions

Why did Elena Gilbert Turn her humanity off when she was sired to Damon? (In The Vampire Diaries)

Answers

Answer:

Ok, so when her brother died she couldn't take it and was in denial for like the longest time. And since she was still sired to Damon bofre her humanity was off she could still listen to him.

Explanation:

1) Raj wants to create a presentation of 20 slides on MS PowerPoint. He wants that all the slides should have uniform background and theme. Suggest him which option in MS PowerPoint makes it possible.​

Answers

Raj wants to create a presentation of 20 slides on MS PowerPoint. He wants that all the slides should have uniform background and theme. Suggest him which option in MS PowerPoint makes it possible. Ans:- Slide Master option.

It is for employees to make mistakes that compromise the security of an organization’s computer devices and sensitive information.

impossible
difficult
easy

Answers

Answer: Easy

Explanation: Correct on my Edg 2021.

It is simple for employees to make mistakes that jeopardize a company's computer system security and sensitive data.

What exactly is sensitive data?

Sensitive information has been defined as personal data that includes facts or opinions concerning a person's race or ethnicity. political affiliations or beliefs. beliefs in religion or philosophy. Data that needs to be shielded from unwanted access in order to protect the security or privacy of a person or organization is considered sensitive information.

Pattern-based classifiers called sensitive information types (SIT) are used. To see a complete list of all SITs, see Sensitive information types entity definitions. They look for sensitive information like social security, credit card, or bank account numbers to identify sensitive things.

Therefore, It is simple for employees to make mistakes that jeopardize a company's computer system security and sensitive data.

To know more about sensitive information visit;

brainly.com/question/26191875

#SPJ3

A license plate has 7 characters. Each character can be a capital letter or a digit except for 0. How many license plates are there in which no character appears more than once and the first character is a digit?

a. 9 P(35, 6)
b. 9 P(34,6)
c. 9.(35)^6
d. 9.(35)^6

Answers

Answer:

b. 9 P(34,6)

Explanation:

Since the 1st character of the number plate is the digit, therefore, there are nine possible ways to select them from digits 1 to 9.

And in the license plate there are 7 characters, the first character is counted before and the remaining 6 characters that can either be a digit or a letter has to be considered.

Now there are in total 34 symbols remaining form a total of 26 letters and 8 digits. They can be placed as 34x33x32x31x30x29 ways = P(34, 6) ways.

Therefore in total for all the characters there are 9 x P(34, 6) different ways.

can you help me with this question please ​

Answers

d. half period because it is the converting of bidirectional current flow to unidirectional currency flow.

A mathematical process of coding information so that only the intend user can read it

Answers

Answer:

asymmetric encryption with the intended user's public key.

Explanation:

Only that user will be able to decrypt the information.

You were just hired as an IT Specialist for Smalltown School District. Your first assignment is to review a problem area& in student records processing. It seems that the program currently used to compute student grade point averages and class rankings runs terribly slow and as a result end of year reports are habitually late. Your are asked to come up with a list of items that should be checked in order to determine if a modification to code is in order. The IT department head is asking you to do this without the opportunity to actually see the current application/programs in use. What questions would you ask about the current code? What areas of code would you look at? What would you need to know about the student data?

Answers

Answer:

Explanation:

There are various questions that you can ask in this scenario, such as

What grading policies are being implemented?

How many student grades are being calculated by the program?

What is the requirements for a student to pass?

All of these questions would allow you to get an idea of how extensive the code may be and its complexity. Once you know this you would look at the code revolving around actually looping through the data and doing the necessary calculations. You can then determine how to manipulate the code and make it much more efficient.

You would also need to know how the student data is being saved, which will help determine if it is the best data structure for saving this type of data or if it can be replaced in order to maintain the data secure while increasing the speed of the program. Mainly since this information needs to be continuously used from the data structure.

Antivirus is a program that detects error.True or False.​

Answers

Answer:  false

Explanation:

Because it isn't true.

Design a software system for a bookstore that keeps an inventory of two types of books: Traditional books and books on CD. Books on CD may also contain music. The bookstore purchases books from publishers and sets a price for each book. Customers can purchase books from the bookstore, using either cash or a credit. The bookstore keeps track of which books it has in its inventory, and the books purchased by each customer

a. What are the objects in your object- oriented Solution?
b. What are the interactions between objects in your solution?
c. Which objects "have" other objects?
d. Which Objects "Use" other objects?
e. Which objects are other objects?

Answers

Answer:

Explanation:

a. In this scenario, the best solution would have an Object of Traditional Books, CD, Music, Bookstore and Customer.

b. All five objects would be able to be called by the main program loop and the Customer Object would call upon and use either the Books or CD object, While the Bookstore object would call upon all of the other objects.

c. Both the Bookstore object and Customer object will "have" other objects as the Bookstore needs to hold information on every Book or CD in the Inventory. While the Customer object would call upon the Book and CD object that they are purchasing.

d. The Music Object will extend the CD object and use information on the CD object as its parent class.

e. Since the Music Object extends the CD object it is also considered a CD since it is in CD format like the Books on CD and therefore is both objects.

g Consider the turning point problem again, but this time you are given a sequence of at least three integers, which consists of a decreasing subsequence followed by an increasing subsequence. Using the divide and conquer technique, develop a recursive algorithm that finds the index of the turning point in the sequence (that is, the point where it transitions from a decreasing subsequence to an increasing subsequence). For example, in the sequence [43 30 16 10 7 8 13 22], the integer 7 is the turning point and its index is equal to 4 (assuming the starting index is 0). So, the algorithm should return 4

Answers

Answer:

Explanation:

The following code is written in Python, it creates a recursive function that takes in a list as a parameter, then compares the first two items in the list if the first is greater, it increases the index by one and calls the function again. This is done until the turning point is found, it then prints out the position of the turning point int the list.

def find_turning_point(list, x=0):

   if list[x] > list[x + 1]:

       x += 1

       return find_turning_point(list, x)

   else:

       return "The turning point position is: " + str(x)

Other Questions
Find the value of c such that the expression is a perfect square trinomial. x^2+12x+c Which of the following sentences correctly describes the effect of an invasive species on an area? 1.Invasive species have naturally evolved to be top predators in an ecological area. 2.These species do not have a major effect on an ecosystem. 3 .However, they may decrease the population of local species.4. This decrease causes a drop in local fishing yields. 5. Because of their exotic nature, invasive species boost local tourism. Question 5Joan wants to decrease her BMI number. How can she achieve her goal?A. Joan can lose some weightB. Joan can stretch and get tallerC. Joan can have her blood pressure checked.D. Joan can take medication which describes the function on the graph-below? PLS HELPOne important organelle that is found in plants, but not in animals is called chloroplast.It is the site of _________. HELP ME PLS PLS PLS PLS!!! I am confused answer all for brainliest How many moles are in 9.03 x 1023 Li atoms? please help me you are in the forest and a tiger apears in front of you what do you do? 5. Alfredo made a container shaped like a triangular prism, as shown in the diagram11 in.What is the volume of the container in cubic inches?Record your answer in the boxes. Be sure to use the correct place value. Find the equation of the line Use exact numbers Thank you in advance! What are the benefits, mechanisms and limitations of explaining, modelling and describing the material cosmos? 9. Use the graph of each polynomial function to find the factored form of the related polynomial.Assume the polynomial has no constant factor.A.What are the zeros of this function? (2 points)what is the factorization of the polynomial Explain how supply and demand works What is the measure of arc DGF Please help me just write 24-25-26- can some pals help me Which graph shows that y varies directly as x? I will give brainliest help Which function is graphed?