读取身高和名字并输出

#include <stdio.h>  
int main(void)  
{  
    float height;  
    char name[40];  

    printf(Enter your height in inches: );  
    scanf(%f, &height);  
    printf(Enter your name: );  
    scanf(%s, name);  
    printf(%s, you are %.3f feet tall\n, name, height / 12.0);  

    return 0;  
}

相关文章

for遍历数组
。。。
声明一个计数循环
咕咕咕
#include <stdio.h> int main (void) { printf (&quo...