Hari, Priya, Poorna and Chandra goes for shopping and purchases 5 items each. The cost of each person is stored in the array. Hari want to create a separate array for each members. Help Hari to create separate array, one for Hari, one for Priya, one for Poorna and one for Chandra.
#include <stdio.h>
int main() {
int Hari_cost[5] = {100, 200, 150, 99, 67};
int Priya_cost[5] = { 99, 129, 23, 15, 89};
int Poorna_cost[5] = {39, 49, 100, 29, 50};
int Chandra_cost[5] = {33, 44, 27, 38, 99};
return 0;
}
Comments
Leave a comment