使用三元运算符。

#include <stdio.h>

int main() {
    int x;
    scanf("%d", &x);
    printf("%s\n", x >= 60 ? "Pass" : "Fail");
    return 0;
}