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";
}
The methods that researcher do use to avoid the impact of their recency bias is that:
- Option C. Record each interview that they conduct.
- Option D. Take detailed notes during interviews.
<h3>What are some ways to lower the influence of bias when conducting user research?</h3>
The ways to lower the influence of bias when conducting user research include:
- A person need to ask open-ended questions. So not push people towards a given outcome.
- Ask users to tell what is important to them.
- Set your objectively weight based on your findings.
Therefore, The methods that researcher do use to avoid the impact of their recency bias is that:
- Option C. Record each interview that they conduct.
- Option D. Take detailed notes during interviews.
Learn more about recency bias from
brainly.com/question/24491228
#SPJ4
See full question below
Consider the following scenario:
Imagine that a UX designer creates an app for saving, organizing, and streaming podcasts. To learn about user experiences with their product, the designer conducts interviews with a select group of target users: podcast enthusiasts. The researcher interviews 10 respondents and remembers the end of the last interview most clearly. The researcher uses this final interview to guide their thinking.
What are some methods the researcher can use to avoid the impact of their recency bias? Select all that apply.
A. Hire an outside research team to conduct the interviews
B. Survey large groups of people to supplement the interviews
C. Record each interview that they conduct
D. Take detailed notes during interviews
1) do you mean feet and
2) if its is feet the answer is 3
Bjejfjdjdjdjdjdjdjdndjdjdjdjdjdjdjdjdjdjdjdjdjdjdjdjddjjddjjdjdjdjd
Answer:
#here is code in python.
#read number of shares
num_share = int(input("Enter number of shares:"))
#read purchase price
buy_p = float(input("Enter purchase price:"))
#read sell price
sell_p = float(input("Enter sale price:"))
#total buying cost
buy_cost=buy_p*1.03*num_share
#total selling cost
sell_cost=sell_p*0.97*num_share
#if net profit
if(sell_cost>buy_cost):
print("After the transaction, you made " +str(sell_cost-buy_cost)+ " dollars.")
#if net loss
else:
print("After the transaction, you lost " +str(buy_cost-sell_cost)+ " dollars.")
Explanation:
Read the total number of shares from user.Then read buying price of a share and selling price of a share.Then calculate total buying cost including commission.Calculate total selling cost excluding the commission.If total buying cost is greater than total selling cost the print the profit else print the loss in the transaction.
Output:
Enter number of shares:10
Enter purchase price:10
Enter sale price:10
After the transaction, you lost 6.0 dollars.