當前位置:成語大全網 - 新華字典 - c語言產生40個長度為4-10個字符的隨機英文單詞,並按字典順序輸出

c語言產生40個長度為4-10個字符的隨機英文單詞,並按字典順序輸出

#include"stdio.h"#include"string.h"intmain(){charstr[10][30]={0};chartem[30]={0};inti,j;printf("請輸入10個單詞:");for(i=0;i