Answer:
#include <iostream>
using namespace std;
int main()
{
int input = 0;
int count = 0;
int sum = 0;
int sumNegative = 0;
while (true) {
cout << "Enter a number: ";
cin >> input;
if (input == 0) break;
count++;
sum += input;
if (input < 0) {
sumNegative += input;
}
}
cout << "Count of the numbers: " << count << endl;
cout << "Sum of all the numbers: " << sum << endl;
cout << "Sum of the negative numbers: " << sumNegative << endl;
}
Explanation:
Your requirements regarding the sum and the negative numbers was a bit vague so I just did something you can probably adjust easily to your liking.
Answer:
- The simplified expression is:

- The simplified expression is undefined for m=3
Explanation:
The given expression is:

The numerator can be siplified by using factorization and denominator will be simplified using the formula

So,

A fraction is undefined when the denominator is zero. In order to find the value of m on which the simplified fraction will be undefined we will put denominator equal to zero.
So,

Hence,
- The simplified expression is:

- The simplified expression is undefined for m=3
Answer:
True is the correct answer for the above question.
Explanation:
- To secure the data is the first rule for any organization because when the data is lost or unsecured the whole system can have the problem.
- If any person wants to hack the system or any organization then they first choose to hack the data of the system.
- So there is a Hundred of law in the US taken by the US government at the Federal trade commission act to secure the data of the organization.
- The above question also states the same which is defined above. Hence It is a true statement.
Answer:
<h2>Expectation </h2>
Explanation:
Expectation is an idea concerning what will happen in the future