Solution to find holidays in persian calendar (shamsi)

i need to know persian calendar holidays in react and i dont want to use paid APIs is there any way to get persian (shamsi) holidays for **free **? i need to know holidays with it’s description { 1402:[ { date: "1402/1/2", description: "عیدنوروز", }, … ] } help me to find a free api… Read More Solution to find holidays in persian calendar (shamsi)

Why am I getting an invalid pointer error when I try to free malloced pointers?

I’m trying to learn about how arrays of strings can be created in C using malloc (i.e. dynamically sized arrays of strings). I can get everything working but I’m getting an "invalid pointer" error when I try to free the char* pointers stored in namesArray->data[0] and namesArray->data[1] But if I don’t use free on these… Read More Why am I getting an invalid pointer error when I try to free malloced pointers?

I would like to make my program display the order total/invoice

Here is what ive done: food =["cheeseburger", "smallchips", "drink"] prices =[2.50, 1.50, 1] x=0 myorderfood=[] myordercost=[] print("Burgers\n") print("Menu:") print("Cheeseburger. Cost – $2.50 each") print("Small chips. Cost – $1.50 each") print("Drink – Cola only. Cost – $1.00 each\n") I want to display an invoice at the end once the user has completed there order showing there… Read More I would like to make my program display the order total/invoice