i need to use strstr and must output all goods (their names and prices) whose code contains that part of the code entered

后端 未结 0 1044
谎友^
谎友^ 2020-12-04 07:40
struct product{
char name[50];
int code;
float price;
};
int main()
{
struct product products[4];
for(int i=0;i<4;i++)
    {
    printf("type the %d products         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题