#include <stdio.h>
#include <stdlib.h>
int main()
{
int methus;
int you;
char years[8];
printf("How old are you?");
gets_s(years);
you=atoi(years);
printf("How old was Jame?");
gets_s(years);
methus=atoi(years);
printf("You are %d years old./n",you);
printf("James was %d years old./n",methus);
return(0);
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266500.html