/*
#include <stdio.h>

int main() {
    char ch = 'A';
    putchar(ch);  // 输出字符A
    putchar('\n'); // 输出换行符
    return 0;
}
*/

/*
#include <stdio.h>

int main() {
    char str[] = "Hello, World!";
    puts(str);  // 输出字符串并自动换行
    return 0;
}
*/
/*
#include <stdio.h>

int main() {
    int age = 20;
    float height = 1.75;
    char name[] = "John";
    
    printf("Name: %s, Age: %d, Height: %.2f\n", name, age, height);
    return 0;
}
*/
/*
#include <stdio.h>

int main() {
    char ch;
    printf("Enter a character: ");
    ch = getchar();
    printf("You entered: %c\n", ch);
    return 0;
}
*/
/*
#include <stdio.h>

int main() {
    char str[50];
    printf("Enter a string: ");
    fgets(str, 50, stdin);  // 从标准输入读取字符串
    printf("You entered: %s", str);
    return 0;
}
*/

#include <stdio.h>

int main() {
    int age;
    float height;
    
    printf("Enter your age and height: ");
    scanf("%d %f", &age, &height);
    
    printf("Age: %d, Height: %.2f\n", age, height);
    return 0;
}

