多项式加法(C语言实现)借鉴.pdfVIP

  • 8
  • 0
  • 约4.34千字
  • 约 5页
  • 2021-12-03 发布于福建
  • 举报
多项式加法 #include stdio.h #include stdlib.h #define Max_Size 100 typedef struct node { float coef; int expn; struct node *next; }PolyNode; int CreCoeStr(float C[]) { char flag; int i=0; do { scanf(%f,C[i++]); scanf(%c,flag); } while (flag!=#); return(i); } void CreExpStr(int E[]) { int i=0; char flag; do { scanf(%d,E[i++]); scanf(%c,flag); } while (flag!=#); } void InitPolyList(PolyNode **sq) { if((*sq=(PolyNode

文档评论(0)

1亿VIP精品文档

相关文档