#include "stdio.h"
#include "stdlib.h"
#include "time.h"
#include "windows.h"

void main(){
  srand(time(NULL));
  int num = rand()%3;
  char name[3][7] = {"张三","李四","王五"};
  printf("%s\n",name[num]);
  system("pause");
}

相关文章:

  • 2022-12-23
  • 2021-06-17
  • 2022-12-23
  • 2021-08-29
  • 2021-12-09
  • 2022-12-23
  • 2021-11-15
猜你喜欢
  • 2021-08-29
  • 2021-12-13
  • 2022-12-23
  • 2021-08-27
  • 2022-12-23
  • 2021-11-04
  • 2021-08-30
相关资源
相似解决方案