Answer:
Written in C++
bool checkfloor(double num1, double num2, double num3) {
if(floor(num1 * num2) == floor(num3)){
return true;
}
else {
return false;
}
}
Explanation:
The function written in C++
This line defines the function
bool checkfloor(double num1, double num2, double num3) {
The following if condition checks if the floor of num1 * num2 equals num3
if(floor(num1 * num2) == floor(num3)){
return true; It returns true, if yes
}
else {
return false; It returns false, if otherwise
}
}
See attachment for full program including the main
Answer:
Extension lines are used to indicate the extension of a surface or point to a location preferably outside the part outline.
Explanation:
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
Explanation:
FORMAT
because it is used for the general appearance of the page
Answer:
Following are the solution to this question:
Please find the attachment of this code.
Explanation:
In this code, an email_list method is declared, that accepts a domains parameter, and in the next step, an empty list and two for loop are defined, in which the first for loop is used for a count parameter value and in the second loop is use the append method to add the given value, and use the return method to print its value, and use the print method to call the "email_list" method.