Here you go. The program will count entered zeros. Null is not happening here...
int main()
{
int NNeg = 0;
int NPos = 0;
int NZero = 0;
std::cout << "Enter 6 numbers:\n";
for (int i = 0; i < 6; i++) {
double number;
std::cin >> number;
if (number < 0.0) NNeg++;
else if (number > 0.0) NPos++;
else NZero++;
}
std::cout << "You entered:\n";
std::cout << NNeg << " negative numbers\n";
std::cout << NZero << " times zero\n";
std::cout << NPos << " positive numbers\n";
}
Answer:
a) It is used for authentication.
Explanation:
Hashing is a process of transforming a single key into another value. It generates the values using a mathematical algorithm. the outcome of this process is a hash value or a hash.
The hashing process is used for authentication.
The hashing process is not reversible.
The hashing process is used to create the digital signature.
The outcome of the hashing process is the hash value, not a message.
Answer: a. the number is: 14
Explanation:
i mean just try to write in 7 instead of x in the second line
then it would say the number is: ....
what is 7 times 2?
14
so the answer is a
Explanation:
Three-tier architecture is a well-established software application architecture that organizes applications into three logical and physical computing tiers: the presentation tier, or user interface; the application tier, where data is processed; and the data tier