Answer:
int main()
{
int A1= {5,3,4,8,9,0,7};
int SArri1 = sizeof(A1);
printf("Original array: ");
for (int i=0; i < SArri1;i++)
printf("", A1[i] );
int i, sum = 20, n= 0;
printf("\nArray pairs whose sum equal to 20: ");
for (int i=0; i<SArri1; i++)
for (int j=i+1; j<SArri1; j++)
if (A1[i]+A1[j] == sum)
{
Printf(“\n”, array1[i])
Printf(“,”,array1[j]);
n++;
}
printf("\nNumber of pairs whose sum equal to 20: ",n)
return 0;
}
Explanation:
First of all, you should create the array of integers, and put random numbers. Then you have to save in a constant the size of the array (in this code is called SArr1) With a for you can print all the numbers that are on the array because then you will print all array pairs whose sum is equal to a specified numer. in this code we are going to use 20.
then with a condition (if) you are going to compare one of number of the array with all the others and check if its equal to 20. If yes, it going to print the numbers that answer to that condition and it's going to add +1 to the variable n (for this you will need to use two bucles for)
Then you can print the number of pairs whose sum is equal to 20 by printing n
You did not specified the language, so I did my program in python.
Hope it helps!!!
Answer:
the suppily curve for compact disc players has shifted right.
Explanation:
i looked it up ok
1- AI and chatbots for customer communications -
Artificial Intelligence plays an important role in everyday life, having a major impact on how we live and work. There are several examples of AI and automation tools with customer service applications for your business, including voice-powered assistants such as Apple’s Siri, Google’s home and Amazon Echo. Research shows that 45% of millennials are already using this type of voice activated search for online shopping.
Chatbots and virtual assistants represent the future for businesses. Some are already integrating chatbots in their systems to improve their customers’ experience and boost brand image.
With the help of Chatbots you can order food, check in luggage at the airport, book a hotel room, schedule your flight, and get recommendations for almost anything you can think of. The Starbucks chatbot for example gives customers details regarding their order status, payment details etc.
2- Image search-
Ecommerce businesses are integrating image search technology on their websites so customers can easily photograph products they are interested in and find similar examples on other sites that may be offering better deals.
Imagine someone sees a beautiful couch, but it costs too much for them. If your business offers similar products at a more reasonable price, integrating image search into your website will allow you to potentially pick up on this sale, creating an extra revenue stream.
It might mean that just like fall leaves dream memories are hard to catch and you forget them.