else后面不用写条件
if-else 语句,需要在 if 条件的后面使用花括号{},将代码块包含起来;同样,else 后面也需要花括号。
if (0 == v2) { printf("v2!=0\n"); } else { printf("=%f\n", v1 / v2); }