#include<stdio.h>
#include<string.h>
int main(void)
{
float hight;
char name[20];
printf("please input body hight(cm) and name:\n");
scanf("%f",&hight);
scanf("%s",name);
printf("%s, you are %5.3f feet tall\n",name,hight/100);
return 0;
}
#include<stdio.h>
#include<string.h>
int main(void)
{
float hight;
char name[20];
printf("please input body hight(cm) and name:\n");
scanf("%f",&hight);
scanf("%s",name);
printf("%s, you are %5.3f feet tall\n",name,hight/100);
return 0;
}