Answer:
Check the explanation
Explanation:
bool oneSale(string item){
for(int i=0;i<capacity;i++){ // iterate till the capcity of array
if(item==grocerryList[i].name()){ // if name matches
if(grocerryList[i].getStock()>0){ // and stock is greater than 0
grocerryList[i].setStock(grocerryList[i].getStock()-1); // subtract 1 from the stock
// or alternate is grocerryList[i].stock= grocerryList[i].stock-1;
return true; // return true
}
}
else if(item==grocerryList[i].name()){ // if name matches
if(grocerryList.getStock()==0){ // but stock is empty
return false; // return falsse
}
}
else{ // means item is not available so there is no need to check stock
return false; // return false
}
}
}
Answer:
NIGHT IN THE WOODS is about an anthropomorphized cat named Mae, a college dropout who returns to her hometown of Possum Springs to reconnect with her family and friends
Explanation:
Answer:
the main window if that`s not correct sorry
Explanation:
Answer:
because there might be a internet
problem
Explanation:
Answer:
The true statement about the system she is building is;
B. The expert system can make autonomous decisions with no human intervention
Explanation:
A computer program known as an expert system is a system that emulates the human or organizational, decision making, judgement and behavior that has gained the knowledge and experience of an expert by analyzing information categories using if then rules of artificial intelligence technologies and not procedural code
Therefore, an expert system of wartime defense can make decisions on its own without the input of a human administrator