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:
Recommended is frame relay architecture with a local loop at each factory supporting the frame relay service connection to the network provider's POP
Explanation:
Frame Relay can be seen as WAN protocol that is said to often operate at both the physical and data layers link of the OSI reference model due to it high-performance and due to the fact that FRAME RELAY are as well use across Integrated Services Digital Network (ISDN) interfaces in which they are designed for cost-efficient data transmission in order to enable effective intermittent traffic between local area networks (LANs) and endpoints in wide area networks (WANs) which is why frame contains all the information necessary to route it to the correct destination. 
Therefore type of BN and WAN architecture and WAN service i would recommend based on the above information is FRAME RELAY ARCHITECTURE with a local loop at each factory supporting the frame relay service connection to the network provider's POP.
 
        
             
        
        
        
A statement which best describes the types of products and services that are suitable for online sale is: D. Not all products or services are well-suited for sale on the Internet.
<h3>What is e-commerce?</h3>
E-commerce is also referred to as an online sale and it can be defined as a business model which is designed and developed to involve the buying and selling of goods (products) over the Internet.
Basically, e-commerce technologies are designed and developed to comprises software and information technology (IT) systems which typically support safe and secure transactions over network and the Internet, so as to make e-commerce possible.
<h3>What is a product?</h3>
A product can be defined as any physical object (tangible item) that is typically produced by a manufacturer so as to satisfy and meet the demands, needs or wants of every customer. Some examples of a product include the following: 
In conclusion, we can infer and logically deduce that it is not all products or services that are well-suited for sale on the Internet through e-commerce.
Read more on e-commerce here: brainly.com/question/23369154
#SPJ1
 
        
             
        
        
        
Related Articles. Scanner is a class in java. util package used for obtaining the input of the primitive types like int, double, etc. and strings.