(1) .Make a program to accept the rates and quantity of 6 items (Cornflakes, Oats, Rice, Pulses, Soaps
and Gram flour) entered by 6 customers, and calculate the bill of each individual customer.
(2) . Write a program to accept the name and gender of 20 employees of a company. Calculate the
number of male and female employees. Display the result with proper message.
Answers
Answered by
8
Answer:
For 2-D vectors, it is the equivalent to matrix multiplication. For 1-D arrays, it is the inner product of the vectors. For N-dimensional arrays, it is a sum product over the last axis of a and the second-last axis of b.
Similar questions