# include <stdio.h>
main()
{
int name, age, siblings, children;
printf ("Hello my name is A.I, what is your name?\n");
scanf("%d", &name);
print ("Hello", name,"How old are you?\n");
scanf("%d", &age);
printf("Do you have any brothers and sisters?\n");
scanf("%d", &siblings);
printf("and how many children do you have?\n");
scanf("%d", &children);
printf("So your name is\n", name, "you are", age, "you have", siblings, "brothers/sisters and have", children, "children\n");
getchar();
}
这是我的第一个程序,如果我的错误非常简单,但我无法弄清楚我做错了什么,我道歉?
答案 0 :(得分:3)
stdio.h
中的打印功能为printf
!