Answer:
Replace /* Your solution goes here */ with:
cin>>matchValue;
numMatches = 0;
for (i = 0; i < userValues.size(); ++i) {
if(matchValue == userValues.at(i))
{
numMatches++;
}
}
Explanation:
This line gets input for matchValue
<em>cin>>matchValue;
</em>
This line initializes numMatches to 0
<em>numMatches = 0;
</em>
The following iteration checks for the number of matches (numMatches) of the matchValue
<em>for (i = 0; i < userValues.size(); ++i) {
</em>
<em>if(matchValue == userValues.at(i))
</em>
<em>{
</em>
<em> numMatches++;
</em>
<em>}
</em>
<em>}
</em>
<em>See Attachment for full source code</em>
Answer:
Einstein analytics plus user
Explanation:
Einstein data insights is a platform that can be used by a company to analyse Salesforce report. With a subscription to this platform, an administrator can grant limited access to users in the company and monitor the logs and reports.
To grant a user access to Einstein data insights, go to setup and find permission set on the quick find box, on the "permission set", click on "einstein analytics plus user", then click on "manage assignment | add assignment". Add the users you want and then click on "assign".
Class Item {
// item class attributes
string itemName;
int itemQuantity;
double itemPrice;
...
}
class grocerylist {
// you can use arrays or any other containers like ArrayList, Vectors,...etc depends on programming language you use
Item[50] itemList;
int size;
public grocerylist () {
this.size = 0;
}
public void addItem(Item i) {
itemList[size] = i;
size = size +1; // Or size++
}
}
Como the amas si mucho gusto