Answer to Question #213649 in C for The Beast

Question #213649

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.


1
Expert's answer
2021-07-05T01:08:07-0400
#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;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS