问题描述:
if else 和 if if 的区别
if (ch == ' ')
sp_ct++;
else if (ch == '\n')
nl_ct++;
else
other++;
和
if (ch == ' ')
sp_ct++;
if (ch == '\n')
nl_ct++;
else
other++;
这两个有什么区别
if (ch == ' ')
sp_ct++;
else if (ch == '\n')
nl_ct++;
else
other++;
和
if (ch == ' ')
sp_ct++;
if (ch == '\n')
nl_ct++;
else
other++;
这两个有什么区别
问题解答:
我来补答展开全文阅读