#include
#include
using std::cin;
using std::cout;
using std::endl;
using std::string;
int main()
{
string number = "0";
cout << endl << "Enter a number: ";
cin >> number;
cout << endl << "Number as a string is " << number
<< endl;
system("PAUSE");
return 0;
}
prime number
The charAt function returns the number of occurrences of a specified character in the input string.
The absolute value function returns the absolute value of a number.
The COUNT function.
The function round requires another parameter which indicated the degree to which the number is to be rounded. Without it the function has no meaning.
Returns a number one greater.
It is a statistical function specifically, finding a number that is a good representation of a set of numbers.
Now function
Yes, the in-built dim() function
The PV function is a financial function. It is used to return the present value of an investment based on an interest rate and a constant payment schedule. The syntax is a follows: PV( rate, number_payments, payment, [FV], [Type] ) Rate is the interest rate for the investment. Number_payments is the number of payments for the annuity. Payment is the amount of the payment made each period. If it is omitted, you have to enter a FV value. FV is optional. It is the future value of the payments. If it is omitted, it is assumed to be 0. Type is optional. It indicates when the payments are due. Type can be one of the following values: 0 for when payments are due at the end of the period, which is the default. 1 for when payments are due at the start of the period. If the Type parameter is left out, the PV function sets the Type value to 0.
Parameter
The PPMT function returns the amt. of interest in a specified instalment number whereas the PMT function returns the amt. of interest in every EMI payment.