Answer:
investmentAmount = float(input("enter the investment amount: "))
annualInterestRate = float(input("enter the Annual Interest Rate: "))
numYears = int(input("Enter NUmber of Years: "))
monthlyInterestRate = annualInterestRate/12
futureInvestmentValue = investmentAmount * (1 + monthlyInterestRate)*(numYears*12)
print("The Future Investment Value is: ")
print(futureInvestmentValue)
Explanation:
Using python programming language as required, we use the input function to prompt user for inputs for each of the variables.
There is a conversion from the variable annualInterestRate to monthlyInterestRate before the formula for the futureInvestmentValue is applied
// Input example:
var userInput = input("Action: ");
if(userInput == "run") {
// Run code
} else if(userInput == "stop") {
// Run code
} else {
// Run error code
}
// More-like-what-you-want example:
if(user.clickApp("Brainly")) {
// Open Brainly
} else if (user.clickApp("App")) {
// Open App
} else {
// Other if, else if, else statements
}
Answer:
Here is some that I know. The code is below:
#accepting input hex_num=input() #checking if it is a number if(hex_num>='0' and hex_num<='9'): #printing that number print(hex_num) #checking
Explanation:
I hope this helps
The user needs to complete the entire disk surface first before starting another surface.
Explanation:
When you are using a multiple disk storage system to write the data the disk automatically writes the disk based on the algorithm for better efficiency and availability of the disk space.
hence when you are recording a data on a multiple disk storage system, it is recommended to fill the complete disk surface initially before you start the another surface to record the data.