Answer:
in order to use correct codes, ensure the variables in loops are in brackets
Answer:
// here is statement in C++ to declare and initialize an array.
int denominations[]={1, 5, 10, 25, 50, 100};
Explanation:
In C++, an array can be declare and initialize in a single statement.Syntax to declare and initialize an array in C++ is type <type> <name>[]={val1,vale2...valn}. Here first literal is type of array and second is name of the array.And in the {} braces value of the array.In the above statement type is integer and name of the array is "denominations" and the values are 1,5,10,25,50,100.
//here is implementation in C++.
// include headers
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// declare and initialize array
int denominations[]={1, 5, 10, 25, 50, 100};
return 0;
}
Insecurely attached infants who are left my their mothers in an unfamiliar setting often will Hold fast in their mothers in their return.
A. Hold fast in their mothers in their return
<u>Explanation:</u>
It is in the conscience of the infants to have the company of their parents no matter the place or time and do not generally like to be left alone. Moreover, the questions says, insecurely attached infants which further add up to this behavior.
The infant would not explore the surroundings due to lack of confidence in an unfamiliar setting. They would rather be uncomfortable and most probably weep the time until their mother arrives and hold fast on to them on their return.
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)