A company has a number of
products in stock. They have
multiple products available for a
single product ID. The product
IDs of the products are denoted
by 1 to N. The company wants
to analyze the difference
between the maximum number
of products available and the
minimum number of products
available for any two different
product IDs so that they can
increase the supply of the
ducts which are low in stock
4 #include
5
6 int main()
7-
8
char name[2
9 scanf("%s",
10
printf("Hell
11
return 0;
12
13
14 |
15
16
17
18
19
20 -
21
22
23
24
1 Warning: Prin
#include
int main()
int n, a[100)
scanf("%d",
for(i=0;i
scanf("
Attachments:
Answers
Answered by
0
Answer:
Welcome to Gboard clipboard, any text you copy will be saved here.Tap on a clip to paste it in the text box.Tap on a clip to paste it in the text box.Welcome to Gboard clipboard, any text you copy will be saved here.
Similar questions