首页 > TAG信息列表 > gender2

实验任务4

#include<stdio.h> int main() { int age1,age2; char gender1, gender2; scanf("%d%c%d%c",&age1,&gender1,&age2,&gender2); printf("age1 = %d, gender1 = %c\n",age1, gender1); printf("age

实验4

#include <stdio.h> int main() { int age1, age2; char gender1, gender2; scanf("%d%c%d%c", &age1, &gender1, &age2, &gender2); printf("age1 = %d, gender1 = %c\n", age1, gender1); printf("age2 = %d, gender