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
Tcecarenko [31]
3 years ago
7

Write a python program to calculate the compound interest

Computers and Technology
1 answer:
Lemur [1.5K]3 years ago
4 0

Answer:

initialPrincipal = float(input("Please enter your initial principal:"))

interestRate = float(input("Please enter your interest rate:"))

timePeriod = float(input("Please enter your number of times interest applied per time period:"))

elapsedPeriod = float(input("Please enter your number of time period elapsed:"))

finalAmount = initialPrincipal*(1 + interestRate/timePeriod)^(timePeriod*elapsedPeriod)

print("Your final amount would be:", finalAmount)

You might be interested in
Which of the following defines what privacy policy is?
Anna11 [10]

Answer:

c

Explanation:

b is a terms of service

8 0
3 years ago
Read 2 more answers
In C Coding, print either "Fruit", "Drink", or "Unknown" (followed by a newline) depending on the value of userItem. Print "Unkn
shutvik [7]

The code below uses if-else structure to print the output depending on the value of the userItem.

If the specified condition in the if structure is true, the block in the structure gets executed.

Comments are used to explain the each line of the code.

//main.c

#include <stdio.h>

int main()

{  

   //defining the enum and userItem

   enum GroceryItem {GR_APPLES, GR_BANANAS, GR_JUICE, GR_WATER};

   enum GroceryItem userItem;

   //initializing the userItem

   userItem = GR_APPLES;

   

   //checking the userItem

   //If it is GR_APPLES or GR_BANANAS, print "Fruit"

   //If it is GR_JUICE or GR_WATER, print "Drink"

   //Otherwise, print "Unknown"

   if(userItem == GR_APPLES || userItem == GR_BANANAS){

       printf("%s\n", "Fruit");

   }

   else if(userItem == GR_JUICE || userItem == GR_WATER){

       printf("%s\n", "Drink");

   }

   else{

       printf("%s\n", "Unknown");

   }

   

   return 0;

}

You can see a similar question at:

brainly.com/question/17592042

6 0
3 years ago
What type of memory speeds up the action performed by the computer and anticipates instructions?
kherson [118]
A cache memory is a small piece of memory that can be accessed very fast. It keeps copies of data that is used often. For example, by keeping data read from a database in memory, the second time the data is needed, it can be taken from the cache in stead of a lengthy query in the database.

Caches can be found in hardware (ie., on the cpu itself), but also as a programming concept in software.
4 0
3 years ago
What utility is used to verify that tcp/ip installed, bound to the nic, configured correctly, and communicating with the network
klasskru [66]
<span>PING is a utility that can verify that TCP/IP is installed, bound to the NIC, configured correctly, and communicating with the network. Ping is used diagnostically to ensure that a host computer the user is trying to reach is actually operating. Ping works by sending an Internet Control Message Protocol (ICMP) Echo Request to a specified interface on the network and waiting for a reply. Ping can be used for troubleshooting to test connectivity and determine response time.</span>
6 0
4 years ago
A supplier certification program: Group of answer choices
Elena-2011 [213]

Answer:

may enable the buyer and seller to lower costs and improve quality

Explanation:

The supplier certification program is a great way organizations benefit by reducing cost, while yet improving the quality of their products. It usually forms part of a larger strategy of an organization's supplier quality management. Organizations tend to effectively manage relationships with suppliers in order to operate as a single entity with the aim of creating value for every stakeholder.

5 0
3 years ago
Other questions:
  • Which tab would you click to access the autosum feature?
    9·1 answer
  • Which of the following is a good choice to help you stay organized when you are away from the office? A. Personal Information ma
    7·1 answer
  • The underline format will underline what?
    9·2 answers
  • Question #17<br> Describe the two methods to open the "Conditional format rules" pane.
    13·1 answer
  • Given the IPv4 address, 200.245.10.150/28, how many subnets are possible and how many hosts can be supported by each subnet?
    15·1 answer
  • the following names are considered valid names for variable except for a. ST_Name b. ST name c. STName​
    9·1 answer
  • OkkKkkkkkEYEYYEYEYEY BYEYYEYEYEyeeyeyyeEYEy if you know you know
    11·1 answer
  • Pleaseeee Help.
    8·2 answers
  • How have cell phones improved our lives​
    5·1 answer
  • you're troubleshooting an ip addressing issue, and you issue a command to view the system's tcp/ip configuration. the command yo
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!