task.4.c

#include <stdio.h>
int main()
{  
  int a1,a2;
  char g1,g2;
  scanf("%d%c%d%c",&a1,&g1,&a2,&g2);
 printf("age1=%d,gender1=%c\n",a1,g1);
 printf("age1=%d,gender2=%c\n",a1,g2);
 return 0;
 
}

 

posted @ 2022-03-27 16:07  !!!!???  阅读(3)  评论(0编辑  收藏  举报