Write an
algorithm to find the ID
of the items whose total sales value
s equal to the given target value
Output
Point too space-separated intogers
representing the ID of the items
whose total sales rete is equal to
I the givon target rate. If no
o such
i fom enests then priat -program
Answers
Answer:
please see my profil science student
Answer:
Explanation:
Input:
The first line of enter includes area separated integers-numitems and goal, representing the entire wide variety of decided on objects (N) and the chosen goal income charge(K), The 2nd line of enter includes N area-separated integers- object[0], object[1],object[2]................object[N-1]. representing the income charge of the chosen objects.
Output:-
Print area-separated integers representing the ID of the objects whose general income charge is same to the given goal charge. If no such object exists then print-1.
Constraints
0 ≤ numitems ≤ 10^6
-10^6 ≤ objects ≤ 10^6
O ≤ i ≤ numitems
The ID of two items with a total sales rate of 14 are 2 & 3 (3+11-14).
Write an algorithm to find the folder number from the packet id of all the n data packets
https://brainly.in/question/49512127?msp_srt_exp=6
Write an algorithm to find the discount percentile given to the customer Input consists of an integer order Id representing
https://brainly.in/question/50406900
#spj3