Answer:
Explanation:
--> First constraint should be satisfied.
UnitPrice>=22.
--> In Second and third either of one should be satisfied.
CategoryID in (4,7,8) OR (CategoryID in (1,3) AND UnitsInStock >= 40)
--> So, Final statement is :
SELECT ProductID, UnitPrice, CategoryID, UnitsInStock FROM Products
WHERE UnitPrice>=22 AND (CategoryID in (4,7,8) OR (CategoryID in (1,3) AND UnitsInStock >= 40))
Answer:
int main() {
int n;
cout<<"Enter the integer n"<<endl;
cin>>n;
if(n<1 || n>10)
{
while(n>10 || n<1)//taking input if the number is not within range..
{
cout<<"Enter the number again"<<endl;
cin>>n;
}
activity(n);//calling activity with the n..
}
return 0;
}
Explanation:
Above written is the main function in which a prompting an integer between 1 and 10 if it is not within range then again taking input.Then after that calling activity with n as argument.
Answer:
The green message background indicates the traditional SMS text message. It actually means a message that you have sent to someone else is through SMS message service instead of Apple iMessage
:
Answer:
Computer is a electronic device which give us accurate result in a short preodical of time